##// END OF EJS Templates
Removes synchronisation group from Variable controller when a zone is being closed
Alexandre Leroux -
r739:0435199fe310
parent child
Show More
@@ -280,6 +280,10 void VisualizationZoneWidget::closeEvent(QCloseEvent *event)
280 processGraphs(*ui->visualizationZoneFrame->layout(),
280 processGraphs(*ui->visualizationZoneFrame->layout(),
281 [](VisualizationGraphWidget &graphWidget) { graphWidget.close(); });
281 [](VisualizationGraphWidget &graphWidget) { graphWidget.close(); });
282
282
283 // Delete synchronization group from variable controller
284 QMetaObject::invokeMethod(&sqpApp->variableController(), "onRemoveSynchronizationGroupId",
285 Qt::QueuedConnection, Q_ARG(QUuid, impl->m_SynchronisationGroupId));
286
283 QWidget::closeEvent(event);
287 QWidget::closeEvent(event);
284 }
288 }
285
289
General Comments 0
You need to be logged in to leave comments. Login now