Skip to content

Commit 8609ddb

Browse files
committed
Merge #12999: qt: Show the Window when double clicking the taskbar icon
67bf2aa qt:Show the entire Window when double clicking on taskbar (Chun Kuan Lee) Pull request description: fix #12838 Tree-SHA512: 4498bc1fe52efeed3768d6bdd7941e4b036d52ae80d9c1b6679c6daa3a62aeda4cff0c91fe1c65afaea6049c59cb0296fdcbff63ecb342d518615a92361fda7f
2 parents d3f04c0 + 67bf2aa commit 8609ddb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/qt/bitcoingui.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,11 @@ void BitcoinGUI::changeEvent(QEvent *e)
968968
QTimer::singleShot(0, this, SLOT(hide()));
969969
e->ignore();
970970
}
971+
else if((wsevt->oldState() & Qt::WindowMinimized) && !isMinimized())
972+
{
973+
QTimer::singleShot(0, this, SLOT(show()));
974+
e->ignore();
975+
}
971976
}
972977
}
973978
#endif

0 commit comments

Comments
 (0)