Commit f4b1a0c7 authored by Valentin Valls's avatar Valentin Valls
Browse files

Try to reuse anyway previous subitems

parent 5e416d35
......@@ -575,9 +575,11 @@ class ManageMainBehaviours(qt.QObject):
reusePreviousPlotItems(previousPlotModel, plotModel, scan)
plotModel.setUserEditTime(previousPlotModel.userEditTime())
else:
pass
# Only update the config (dont create new curve items)
reusePreviousPlotItems(previousPlotModel, plotModel, scan=None)
else:
pass
# Only update the config (dont create new curve items)
reusePreviousPlotItems(previousPlotModel, plotModel, scan=None)
if plotModel.styleStrategy() is None:
plotModel.setStyleStrategy(DefaultStyleStrategy(self.__flintModel))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment