mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-19 08:51:41 +03:00
Show connected message box only when main GUI is visible #4850
This commit is contained in:
parent
7259e71439
commit
1369f46cee
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user