@@ -633,6 +633,10 void VisualizationGraphWidget::closeEvent(QCloseEvent *event) | |||||
633 | { |
|
633 | { | |
634 | Q_UNUSED(event); |
|
634 | Q_UNUSED(event); | |
635 |
|
635 | |||
|
636 | for (auto i : impl->m_SelectionZones) { | |||
|
637 | parentVisualizationWidget()->selectionZoneManager().setSelected(i, false); | |||
|
638 | } | |||
|
639 | ||||
636 | // Prevents that all variables will be removed from graph when it will be closed |
|
640 | // Prevents that all variables will be removed from graph when it will be closed | |
637 | for (auto &variableEntry : impl->m_VariableToPlotMultiMap) { |
|
641 | for (auto &variableEntry : impl->m_VariableToPlotMultiMap) { | |
638 | emit variableAboutToBeRemoved(variableEntry.first); |
|
642 | emit variableAboutToBeRemoved(variableEntry.first); |
General Comments 0
You need to be logged in to leave comments.
Login now