Skip to content

Commit 332dea2

Browse files
committed
qt, refactor: Keep HelpMessageDialog in the main event loop
1 parent c8bae37 commit 332dea2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qt/bitcoingui.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,8 +848,8 @@ void BitcoinGUI::aboutClicked()
848848
if(!clientModel)
849849
return;
850850

851-
HelpMessageDialog dlg(this, true);
852-
dlg.exec();
851+
auto dlg = new HelpMessageDialog(this, /* about */ true);
852+
GUIUtil::ShowModalDialogAndDeleteOnClose(dlg);
853853
}
854854

855855
void BitcoinGUI::showDebugWindow()

0 commit comments

Comments
 (0)