diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index eff3ac9..cd5bc89 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -292,6 +292,8 @@ MainWindow::~MainWindow() delete fOpenPanel; delete fImportPanel; delete fExportPanel; + + gDatabase.RemoveObserver(this); }