Auto start Synergy after a new client added
This commit is contained in:
parent
3b1e15ba08
commit
2e744b0f02
2 changed files with 4 additions and 1 deletions
|
|
@ -910,6 +910,9 @@ void MainWindow::autoAddScreen(const QString name)
|
|||
break;
|
||||
}
|
||||
}
|
||||
else {
|
||||
startSynergy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ int ServerConfig::autoAddScreen(const QString name)
|
|||
}
|
||||
if (findScreenName(name, targetIndex)) {
|
||||
// already exists.
|
||||
return kAutoAddScreenOk;
|
||||
return kAutoAddScreenIgnore;
|
||||
}
|
||||
|
||||
int result = showAddClientDialog(name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue