diff options
author | Chun Kuan Lee <ken2812221@gmail.com> | 2018-04-17 00:19:13 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2018-04-26 23:43:54 +0800 |
commit | 1720eb3018e57cc75163c2d2c3f235325a2cc995 (patch) | |
tree | de0154be68f0730a9ceec34fd6714d2dcfc25877 /src | |
parent | e055bc0fdfb2abfc224e9d75db92ae738687502b (diff) |
qt:Show the entire Window when double clicking on taskbar
GitHub-Pull: #12999
Rebased-From: 67bf2aa
Diffstat (limited to 'src')
-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 afd90a3bc6..09ae8b1c68 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -945,6 +945,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 |