Skip to content

Commit 1cb68db

Browse files
committed
Fixed bug where m_manageInstrumentsDialog was not set to null when the dialog was closed, making it impossible to re-open the dialog after closing it once. Fixes #632.
1 parent ecc525e commit 1cb68db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ngscopeclient/MainWindow.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,8 @@ void MainWindow::OnDialogClosed(const std::shared_ptr<Dialog>& dlg)
987987
m_graphEditor = nullptr;
988988
if(m_measurementsDialog == dlg)
989989
m_measurementsDialog = nullptr;
990+
if(m_manageInstrumentsDialog == dlg)
991+
m_manageInstrumentsDialog = nullptr;
990992

991993
//Remove the general list
992994
m_dialogs.erase(dlg);

0 commit comments

Comments
 (0)