diff --git a/src/ngscopeclient/MainWindow.cpp b/src/ngscopeclient/MainWindow.cpp index 95198153b..f3187ffcd 100644 --- a/src/ngscopeclient/MainWindow.cpp +++ b/src/ngscopeclient/MainWindow.cpp @@ -987,6 +987,8 @@ void MainWindow::OnDialogClosed(const std::shared_ptr& dlg) m_graphEditor = nullptr; if(m_measurementsDialog == dlg) m_measurementsDialog = nullptr; + if(m_manageInstrumentsDialog == dlg) + m_manageInstrumentsDialog = nullptr; //Remove the general list m_dialogs.erase(dlg);