diff options
Diffstat (limited to 'sigmodr/SigmodrUI.cpp')
-rw-r--r-- | sigmodr/SigmodrUI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sigmodr/SigmodrUI.cpp b/sigmodr/SigmodrUI.cpp index 6d930675..b1bbf22a 100644 --- a/sigmodr/SigmodrUI.cpp +++ b/sigmodr/SigmodrUI.cpp @@ -382,6 +382,7 @@ bool SigmodrUI::closeWidget() if (closed) { delete formPanel->takeWidget(); + m_editedIndex = QModelIndex(); formPanel->setWidget(NULL); boxButtons->setEnabled(false); buttonValidate->setEnabled(false); |