From 337675d134f41aa6fcf7f0288cff0cc670b998a9 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 26 Oct 2017 18:21:24 +0200 Subject: [PATCH] add safety notice --- gui/qt/main_window.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index e9abdb481..51cb02616 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -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