fix: error on start shows gui
do not show client errors if the windows is not visible
This commit is contained in:
committed by
Chris Rizzitello
parent
ce97817d45
commit
b432cbc145
@ -1243,10 +1243,7 @@ void MainWindow::remoteHostChanged(const QString &newRemoteHost)
|
||||
|
||||
void MainWindow::showClientError(deskflow::client::ErrorType error, const QString &address)
|
||||
{
|
||||
if (!Settings::value(Settings::Gui::ShowGenericClientFailureDialog).toBool())
|
||||
return;
|
||||
|
||||
if (m_clientErrorVisible)
|
||||
if (!Settings::value(Settings::Gui::ShowGenericClientFailureDialog).toBool() || !isVisible() || m_clientErrorVisible)
|
||||
return;
|
||||
|
||||
m_clientErrorVisible = true;
|
||||
|
||||
Reference in New Issue
Block a user