diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-04-23 20:58:33 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-04-23 21:01:08 +0200 |
commit | 8609ddb368218c70c337a09bc3f354974bba1b26 (patch) | |
tree | 7f0af18421509b77e26c99dd70016cb090832f18 /src/qt/bitcoingui.cpp | |
parent | d3f04c0e81a649fd7db1ff38bbc96b3eb18312d8 (diff) | |
parent | 67bf2aa68eaa4502c8c11541e3f39b0372e95bf8 (diff) |
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
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r-- | src/qt/bitcoingui.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index bfa8844a09..aed5374a7d 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -968,6 +968,11 @@ void BitcoinGUI::changeEvent(QEvent *e) QTimer::singleShot(0, this, SLOT(hide())); e->ignore(); } + else if((wsevt->oldState() & Qt::WindowMinimized) && !isMinimized()) + { + QTimer::singleShot(0, this, SLOT(show())); + e->ignore(); + } } } #endif |