Auto start Synergy after a new client added

This commit is contained in:
Xinyu Hou 2014-11-25 15:04:25 +00:00
parent 3b1e15ba08
commit 2e744b0f02
2 changed files with 4 additions and 1 deletions

View File

@ -910,6 +910,9 @@ void MainWindow::autoAddScreen(const QString name)
break; break;
} }
} }
else {
startSynergy();
}
} }
} }

View File

@ -288,7 +288,7 @@ int ServerConfig::autoAddScreen(const QString name)
} }
if (findScreenName(name, targetIndex)) { if (findScreenName(name, targetIndex)) {
// already exists. // already exists.
return kAutoAddScreenOk; return kAutoAddScreenIgnore;
} }
int result = showAddClientDialog(name); int result = showAddClientDialog(name);