mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-04 21:04:59 +08:00
refactor: set Remote host when it changes on the line edit.
This commit is contained in:
parent
687fd5411a
commit
34f56af6d6
@ -1234,5 +1234,7 @@ void MainWindow::remoteHostChanged(const QString &newRemoteHost)
|
||||
toggleCanRunCore(!newRemoteHost.isEmpty() && ui->rbModeClient->isChecked());
|
||||
if (newRemoteHost.isEmpty()) {
|
||||
Settings::setValue(Settings::Client::RemoteHost, QVariant());
|
||||
} else {
|
||||
Settings::setValue(Settings::Client::RemoteHost, newRemoteHost);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user