Fixed assert from progress system when loading plots

This commit is contained in:
Jacob Støren 2017-03-07 12:19:54 +01:00
parent c9dc41d374
commit 2aa6389796

View File

@ -606,16 +606,12 @@ void RiaApplication::loadAndUpdatePlotData()
} }
} }
if (flowColl) if (flowColl)
{ {
flowColl->loadDataAndUpdate();
plotProgress.setNextProgressIncrement(flowColl->plotCount()); plotProgress.setNextProgressIncrement(flowColl->plotCount());
flowColl->loadDataAndUpdate();
plotProgress.incrementProgress();
} }
plotProgress.incrementProgress();
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------