From 1369f46cee69c91aa5149db5cbec80fcebc543b4 Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Mon, 20 Jul 2015 16:19:46 -0700 Subject: [PATCH] Show connected message box only when main GUI is visible #4850 --- src/gui/src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index aebf134a..d7488b59 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -409,7 +409,7 @@ void MainWindow::checkConnected(const QString& line) { setSynergyState(synergyConnected); - if (!appConfig().startedBefore()) { + if (!appConfig().startedBefore() && isVisible()) { QMessageBox::information( this, "Synergy", tr("Synergy is now connected, You can close the "