refactor: set Remote host when it changes on the line edit.
This commit is contained in:
committed by
Chris Rizzitello
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user