qt privkey export: if multisig wallet, warn users re backup

This commit is contained in:
SomberNight 2018-01-10 14:56:45 +01:00
parent 7cf547c4b8
commit 3ef778044e
1 changed files with 4 additions and 0 deletions

View File

@ -2240,6 +2240,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.show_message(_("This is a watching-only wallet"))
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.setMinimumSize(850, 300)
vbox = QVBoxLayout(d)