mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Prefill XSwiftBus server selector widget with default settings value
Initially, the port is filled with 45000 which is reserved for GUI<->Core DBus communication. Therefore, the default address must be overwritten. The displayed value might change again in case, a custom TCP address and port is selected in the user settings. ref T291
This commit is contained in:
committed by
Klaus Basan
parent
ae07d9151e
commit
9b1b39e3a4
@@ -26,7 +26,7 @@ namespace BlackSimPlugin
|
||||
ui(new Ui::CSimulatorXPlaneConfigWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
ui->comp_SettingsXSwiftBus->setDefaultP2PAddress(m_xswiftbusServerSetting.getDefault());
|
||||
ui->comp_SettingsXSwiftBus->set(m_xswiftbusServerSetting.getThreadLocal());
|
||||
|
||||
connect(ui->bb_OkCancel, &QDialogButtonBox::accepted, this, &CSimulatorXPlaneConfigWindow::settingsAccepted);
|
||||
|
||||
Reference in New Issue
Block a user