refs #745, do not consolidate with DB data when stashing editor model

(prevents that changed data are overridden by DB data again and hence reverted)
This commit is contained in:
Klaus Basan
2016-08-26 01:22:21 +02:00
committed by Mathew Sutcliffe
parent 04a9381858
commit 0d70e87d11
4 changed files with 8 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ namespace BlackGui
public slots:
//! Stash given model (includes validation and consolidation with DB data)
BlackMisc::CStatusMessage stashModel(const BlackMisc::Simulation::CAircraftModel &model, bool replace = false);
BlackMisc::CStatusMessage stashModel(const BlackMisc::Simulation::CAircraftModel &model, bool replace = false, bool consolidateWithDbData = true);
//! Stash given models (includes validation and consolidation with DB data)
BlackMisc::CStatusMessageList stashModels(const BlackMisc::Simulation::CAircraftModelList &models);