DigiPara Liftdesigner

LD 2020 Version, 25th of October 2019

TR-06249 (Finished)
Created by: MM
Last change: 6/23/2020 2:50:57 PM

Project BIM settings: wrong update/saveundo order

Opening the project BIM settings calls LDXDocumentBIMSettings.UpdateFromDatabase and LDXDocument.SaveUndo in the wrong order; SaveUndo would need to come first.
UpdateFromDatabase is called in DigiPara.LD.UI.Operations.WpfBIMSettings.lduiVmBIMPropertiesMain.ShowBIMSettingsWindow(),
SaveUndo comes later from DigiPara.LD.UI.Operations.WpfBIMSettings.lduiVwBimSettingsMainWindow.SaveBackup().
The result is that if you do trigger an undo afterwards, the state of the document is wrong; the datatree below DocumentBIMSettings. is all full and if there have been changes to the database that were not yet in the project before, they are now.