Last change: 2/19/2020 3:41:32 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.