mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 14:15:35 +08:00
Ref T660, add simulator directory to model view for validation
This commit is contained in:
committed by
Mat Sutcliffe
parent
f59b52bd6d
commit
9a384ebc54
@@ -114,7 +114,7 @@ namespace BlackGui
|
||||
|
||||
//! Corresponding simulator
|
||||
//! \remark used for validation or loading data will be restricted to simulator
|
||||
void setCorrespondingSimulator(const BlackMisc::Simulation::CSimulatorInfo &simulator) { m_correspondingSimulator = simulator; }
|
||||
void setCorrespondingSimulator(const BlackMisc::Simulation::CSimulatorInfo &simulator, const QString &simDir);
|
||||
|
||||
//! Enable the validation context menu
|
||||
void setValidationContextMenu(const bool enabled) { m_withValidationContextMenu = enabled; }
|
||||
@@ -175,6 +175,7 @@ namespace BlackGui
|
||||
CAircraftModelStatisticsDialog *m_statisticsDialog = nullptr;
|
||||
CAircraftModelValidationDialog *m_fileValidationDialog = nullptr;
|
||||
BlackMisc::Simulation::CSimulatorInfo m_correspondingSimulator; //!< validation, simulator required when loading
|
||||
QString m_correspondingSimulatorDir;
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user