mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Ref T311, avoid crash of model set dialog
- check for nullptr mapping component - disable new set button in dialog
This commit is contained in:
@@ -113,7 +113,7 @@ namespace BlackGui
|
||||
//! @}
|
||||
|
||||
//! Enable buttons
|
||||
void enableButtons(bool firstSet);
|
||||
void enableButtons(bool firstSet, bool newSet);
|
||||
|
||||
//! Set the model set for a given simulator
|
||||
void setModelSet(const BlackMisc::Simulation::CAircraftModelList &models, const BlackMisc::Simulation::CSimulatorInfo &simulator);
|
||||
|
||||
Reference in New Issue
Block a user