mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Ref T451, fixed temp. disabled model
* display info message * aircraft model list implementing ICallsignObjectList (for message) * fixed wrong flag in requestTempDisable
This commit is contained in:
committed by
Mat Sutcliffe
parent
25df1921eb
commit
a90d4465a2
@@ -423,6 +423,8 @@ namespace BlackGui
|
||||
if (sGui && sGui->getIContextSimulator())
|
||||
{
|
||||
sGui->getIContextSimulator()->disableModelsForMatching(models, true);
|
||||
const CStatusMessage m = CLogMessage(this).info(u"Disabled %1 model(s): %2") << models.size() << models.getCallsignsAsString(", ", true);
|
||||
this->showOverlayHTMLMessage(m, OverlayMessageMs);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ namespace BlackGui
|
||||
QTimer m_updateTimer;
|
||||
bool m_missedRenderedAircraftUpdate = true; //! Rendered aircraft need update
|
||||
BlackMisc::CTokenBucket m_bucket { 3, BlackMisc::PhysicalQuantities::CTime(5.0, BlackMisc::PhysicalQuantities::CTimeUnit::s()), 1};
|
||||
BlackMisc::CSettingReadOnly<BlackGui::Settings::TViewUpdateSettings> m_settings { this, &CMappingComponent::settingsChanged }; //!< settings changed
|
||||
BlackMisc::CSettingReadOnly<Settings::TViewUpdateSettings> m_settings { this, &CMappingComponent::settingsChanged }; //!< settings changed
|
||||
Views::CCheckBoxDelegate *m_currentMappingsViewDelegate = nullptr; //! checkbox in view
|
||||
};
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user