Skip to content

Commit e063305

Browse files
committed
Simulation Experiment view: don't check for dirty axes when resetting runs.
1 parent f097f06 commit e063305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/simulation/SimulationExperimentView/src/simulationexperimentviewsimulationwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3801,7 +3801,7 @@ void SimulationExperimentViewSimulationWidget::updateSimulationResults(Simulatio
38013801
double plotMaxX = plot->maxX();
38023802
double plotMinY = plot->minY();
38033803
double plotMaxY = plot->maxY();
3804-
bool hasDirtyAxes = plot->hasDirtyAxes();
3804+
bool hasDirtyAxes = (pTask == Task::ResetRuns)?false:plot->hasDirtyAxes();
38053805

38063806
for (auto graph : graphs) {
38073807
if (graph->fileName() == pSimulationWidget->simulation()->fileName()) {

0 commit comments

Comments
 (0)