Merge pull request #3690 from SomberNight/multisig_privkey_export_warning
qt privkey export: if multisig wallet, warn users re backup
This commit is contained in:
commit
c5dae933ee
|
@ -2240,6 +2240,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
||||||
self.show_message(_("This is a watching-only wallet"))
|
self.show_message(_("This is a watching-only wallet"))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if isinstance(self.wallet, Multisig_Wallet):
|
||||||
|
self.show_message(_('WARNING: This is a multi-signature wallet.') + '\n' +
|
||||||
|
_('It can not be "backed up" by simply exporting these private keys.'))
|
||||||
|
|
||||||
d = WindowModalDialog(self, _('Private keys'))
|
d = WindowModalDialog(self, _('Private keys'))
|
||||||
d.setMinimumSize(850, 300)
|
d.setMinimumSize(850, 300)
|
||||||
vbox = QVBoxLayout(d)
|
vbox = QVBoxLayout(d)
|
||||||
|
|
Loading…
Reference in New Issue