@@ -171,6 +171,13 void VisualizationTabWidget::dropMimeData(int index, const QMimeData *mimeData) | |||||
171 |
|
171 | |||
172 | if (!variables.isEmpty()) |
|
172 | if (!variables.isEmpty()) | |
173 | { |
|
173 | { | |
|
174 | //Abort the requests for the variables (if any) | |||
|
175 | //Commented, because it's not sure if it's needed or not | |||
|
176 | //for (const auto& var : variables) | |||
|
177 | //{ | |||
|
178 | // sqpApp->variableController().onAbortProgressRequested(var); | |||
|
179 | //} | |||
|
180 | ||||
174 | if (nbGraph == 1) |
|
181 | if (nbGraph == 1) | |
175 | { |
|
182 | { | |
176 | //This is the only graph in the previous zone, close the zone |
|
183 | //This is the only graph in the previous zone, close the zone |
@@ -364,6 +364,13 void VisualizationZoneWidget::dropMimeData(int index, const QMimeData *mimeData) | |||||
364 | { |
|
364 | { | |
365 | //The drop didn't occur in the same zone |
|
365 | //The drop didn't occur in the same zone | |
366 |
|
366 | |||
|
367 | //Abort the requests for the variables (if any) | |||
|
368 | //Commented, because it's not sure if it's needed or not | |||
|
369 | //for (const auto& var : variables) | |||
|
370 | //{ | |||
|
371 | // sqpApp->variableController().onAbortProgressRequested(var); | |||
|
372 | //} | |||
|
373 | ||||
367 | auto previousParentZoneWidget = graphWidget->parentZoneWidget(); |
|
374 | auto previousParentZoneWidget = graphWidget->parentZoneWidget(); | |
368 | auto nbGraph = parentDragDropContainer->countDragWidget(); |
|
375 | auto nbGraph = parentDragDropContainer->countDragWidget(); | |
369 | if (nbGraph == 1) |
|
376 | if (nbGraph == 1) |
General Comments 0
You need to be logged in to leave comments.
Login now