From 19f5007428dcb31cdbdfad7862cf5ce9ee71a0ab Mon Sep 17 00:00:00 2001 From: Boris Oncev Date: Sun, 5 Nov 2023 21:36:56 +0100 Subject: [PATCH] fix cancel file selection to also close the create wallet dialog --- node-gui/src/main_window/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/node-gui/src/main_window/mod.rs b/node-gui/src/main_window/mod.rs index f73461e971..f9ceca5899 100644 --- a/node-gui/src/main_window/mod.rs +++ b/node-gui/src/main_window/mod.rs @@ -561,6 +561,7 @@ impl MainWindow { } MainWindowMessage::ImportWalletFileCanceled => { self.file_dialog_active = false; + self.active_dialog = ActiveDialog::None; Command::none() }