mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
[Mappimg tool] Clear "own models" if there are NO models and hence NO "models changed" signal
This commit is contained in:
committed by
Mat Sutcliffe
parent
8c2d2b0667
commit
9c01983f25
@@ -101,6 +101,9 @@ namespace BlackGui
|
||||
//! Update view and cache
|
||||
BlackMisc::CStatusMessage updateViewAndCache(const BlackMisc::Simulation::CAircraftModelList &models);
|
||||
|
||||
//! Clear the view
|
||||
void clearView();
|
||||
|
||||
//! Models view
|
||||
BlackGui::Views::CAircraftModelView *view() const;
|
||||
|
||||
@@ -128,6 +131,9 @@ namespace BlackGui
|
||||
//! Models have been successfully loaded
|
||||
void successfullyLoadedModels(const BlackMisc::Simulation::CSimulatorInfo &simulator, int count);
|
||||
|
||||
//! Own models simulator has changed
|
||||
void ownModelsSimulatorChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator);
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CDbOwnModelsComponent> ui;
|
||||
BlackMisc::Simulation::IAircraftModelLoader *m_modelLoader = nullptr; //!< read own aircraft models, aka models on disk
|
||||
|
||||
Reference in New Issue
Block a user