From 34f56af6d681605b85575b28e90e6dfd36d2c195 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Wed, 15 Oct 2025 00:08:02 -0400 Subject: [PATCH] refactor: set Remote host when it changes on the line edit. --- src/lib/gui/MainWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/gui/MainWindow.cpp b/src/lib/gui/MainWindow.cpp index 529ad9581..355c0ed20 100644 --- a/src/lib/gui/MainWindow.cpp +++ b/src/lib/gui/MainWindow.cpp @@ -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); } }