Ref T177, clear highlighting once new models are stashed

This commit is contained in:
Klaus Basan
2017-10-28 16:41:23 +02:00
parent df25dc5c18
commit 2e307555a2
2 changed files with 25 additions and 7 deletions

View File

@@ -121,12 +121,15 @@ namespace BlackGui
//! Show changed attributes of selected models
void showChangedAttributes();
//! Clear highlighting set by validations
void clearValidationHighlighting();
public slots:
//! Stash given model (includes validation and consolidation with DB data)
BlackMisc::CStatusMessage stashModel(const BlackMisc::Simulation::CAircraftModel &model, bool replace = false, bool consolidateWithDbData = true);
BlackMisc::CStatusMessage stashModel(const BlackMisc::Simulation::CAircraftModel &model, bool replace = false, bool consolidateWithDbData = true, bool clearHighlighting = true);
//! Stash given models (includes validation and consolidation with DB data)
BlackMisc::CStatusMessageList stashModels(const BlackMisc::Simulation::CAircraftModelList &models);
BlackMisc::CStatusMessageList stashModels(const BlackMisc::Simulation::CAircraftModelList &models, bool replace = false, bool consolidateWithDbData = true, bool clearHighlighting = true);
//! Replace models, no validation
void replaceModelsUnvalidated(const BlackMisc::Simulation::CAircraftModelList &models);