mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
Ref T197, emulated driver dialog can update title
This commit is contained in:
@@ -77,6 +77,7 @@ namespace BlackSimPlugin
|
||||
this->enableInterpolationLogButtons(false);
|
||||
this->setSimulatorUiValues();
|
||||
this->setInternalAircraftUiValues();
|
||||
this->updateWindowTitle(simulator->getSimulatorInfo());
|
||||
}
|
||||
|
||||
CSimulatorEmulatedMonitorDialog::~CSimulatorEmulatedMonitorDialog()
|
||||
@@ -140,6 +141,12 @@ namespace BlackSimPlugin
|
||||
ui->pte_TextMessages->setPlainText(message.toQString(true));
|
||||
}
|
||||
|
||||
void CSimulatorEmulatedMonitorDialog::updateWindowTitle(const CSimulatorInfo &info)
|
||||
{
|
||||
if (!info.isSingleSimulator()) { return; }
|
||||
this->setWindowTitle("Emulated driver : " + info.toQString());
|
||||
}
|
||||
|
||||
void CSimulatorEmulatedMonitorDialog::onSimulatorValuesChanged()
|
||||
{
|
||||
m_simulator->setCombinedStatus(
|
||||
|
||||
Reference in New Issue
Block a user