Skip to content

Commit 095f920

Browse files
committed
qt: don't pass BitcoinGUI to bringToFront()
The main window (BitcoinGUI) does not need to be passed to bringToFront(), doing so sets Qt::WindowStaysOnTopHint on the main window and causes it to flicker. Fixes #903.
1 parent e14451a commit 095f920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/bitcoingui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,7 @@ void BitcoinGUI::showNormalIfMinimized(bool fToggleHidden)
15111511
if (!isHidden() && !isMinimized() && !GUIUtil::isObscured(this) && fToggleHidden) {
15121512
hide();
15131513
} else {
1514-
GUIUtil::bringToFront(this);
1514+
show();
15151515
}
15161516
}
15171517

0 commit comments

Comments
 (0)