add safety notice

This commit is contained in:
ThomasV 2017-10-26 18:21:24 +02:00
parent a00203d374
commit 337675d134
1 changed files with 4 additions and 1 deletions

View File

@ -1860,7 +1860,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
dialog.exec_()
def remove_wallet(self):
if self.question(_('Delete wallet file') + "\n'%s'"%self.wallet.storage.path):
if self.question('\n'.join([
_('Delete wallet file?'),
"%s"%self.wallet.storage.path,
_('If your wallet contains funds, make sure you have saved its seed.')])):
self._delete_wallet()
@protected