refactor: set Remote host when it changes on the line edit.
This commit is contained in:
parent
687fd5411a
commit
34f56af6d6
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue