From 1720eb3018e57cc75163c2d2c3f235325a2cc995 Mon Sep 17 00:00:00 2001 From: Chun Kuan Lee Date: Tue, 17 Apr 2018 00:19:13 +0800 Subject: [PATCH] qt:Show the entire Window when double clicking on taskbar GitHub-Pull: #12999 Rebased-From: 67bf2aa --- src/qt/bitcoingui.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index afd90a3bc..09ae8b1c6 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