aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorConfuSomu2023-08-15 19:55:52 -0400
committerConfuSomu2023-08-15 20:16:07 -0400
commitdef9f251739e9a0d6d0ff1c98dc4562dade3e9ef (patch)
tree1e36bddaf8d04312cf81f5335f3afedc6aa5c784 /src/mainwindow.cpp
parentade98b4cf6630635e2fdbf84ac29fe83a79cc371 (diff)
downloadActorViewer-def9f251739e9a0d6d0ff1c98dc4562dade3e9ef.tar
ActorViewer-def9f251739e9a0d6d0ff1c98dc4562dade3e9ef.tar.gz
ActorViewer-def9f251739e9a0d6d0ff1c98dc4562dade3e9ef.zip
Implement "fill address" in instance settings
Implement the "fill address" action in the instance login settings frame that is in the network tab.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 4943775..c6203d4 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -61,6 +61,8 @@ void MainWindow::on_actionSettings_triggered(bool checked) {
if (!settings_dialog) {
settings_dialog = new SettingsDialog(this);
connect(settings_dialog, &QDialog::finished, this, &MainWindow::settingsDialog_done);
+ if (data_archive)
+ settings_dialog->set_instance_address(data_archive->get_instance_address());
}
settings_dialog->open();
}