From 6ab24e09a0474783e7a479a53fe413211e7061d3 Mon Sep 17 00:00:00 2001 From: AronVietti Date: Sat, 20 Jun 2020 14:38:53 -0700 Subject: [PATCH] Fixed a bug that made the Server window stop updating Minimizing the Server Window on OSX stopped it from ever being refreshed. Added a line to call show() when a changeEvent is recieved and the window is not minimized. --- src/serverdlg.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/serverdlg.cpp b/src/serverdlg.cpp index ab43358c..942e8027 100755 --- a/src/serverdlg.cpp +++ b/src/serverdlg.cpp @@ -762,5 +762,11 @@ void CServerDlg::changeEvent ( QEvent* pEvent ) // the timer for this purpose QTimer::singleShot ( 0, this, SLOT ( hide() ) ); } + else + { + // we have to call the show function from another thread -> use + // the timer for this purpose + QTimer::singleShot ( 0, this, SLOT ( show() ) ); + } } }