tconfirmation dialog before force closure - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 290a1c61a8efdccdf051714a55e1a95c2be9e631 DIR parent dbcd5fe59d2821a9c39ecb6f49f7934d72177a17 HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 23 Jan 2019 13:47:29 +0100 confirmation dialog before force closure Diffstat: M electrum/gui/qt/channels_list.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/gui/qt/channels_list.py b/electrum/gui/qt/channels_list.py t@@ -68,7 +68,8 @@ class ChannelsList(MyTreeView): def task(): coro = lnworker.force_close_channel(channel_id) return network.run_from_another_thread(coro) - WaitingDialog(self, 'please wait..', task, on_success, on_failure) + if self.parent.question('Force-close channel?\nClaiming funds will not be immediately available.'): + WaitingDialog(self, 'please wait..', task, on_success, on_failure) menu.addAction(_("Details..."), lambda: self.details(channel_id)) menu.addAction(_("Close channel"), close) menu.addAction(_("Force-close channel"), force_close)