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.
This commit is contained in:
AronVietti 2020-06-20 14:38:53 -07:00
parent 4ebcaab5d7
commit 6ab24e09a0

View file

@ -762,5 +762,11 @@ void CServerDlg::changeEvent ( QEvent* pEvent )
// the timer for this purpose // the timer for this purpose
QTimer::singleShot ( 0, this, SLOT ( hide() ) ); 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() ) );
}
} }
} }