Skip to content

Synchronize the creation and deletion of the projejct with the creation and deletion of the GUI observer.

Alexander Semke requested to merge work/delete_observer_on_project_close into master

Moved the declaration of the dock widgets from MainWin to GuiObserver and delete the observer together with the crteated dock widgets on project close. This has two advandages:

  • when the project is closed, the memory consumption is reduced and only the dock widgets are created that are needed for the next project to be opened.
  • when the new project is opened, the dock widgets are initialized from scratch and there is no need to reset their state. This also solves the crash that was caused by the recent changes in 3701c196.

Merge request reports

Loading