Commit 9fa17000 authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

[gui][displayComponentsWidget] Fix bug when resetting dimensions

parent ae5d7de3
Pipeline #22388 passed with stage
in 2 minutes and 32 seconds
...@@ -316,5 +316,7 @@ class PlotRockingCurves(qt.QMainWindow): ...@@ -316,5 +316,7 @@ class PlotRockingCurves(qt.QMainWindow):
self._cb.addItem(dimension) self._cb.addItem(dimension)
def resetDimensions(self): def resetDimensions(self):
for i in range(1, self._cb.count()): oldState = self._cb.blockSignals(True)
self._cb.removeItem(i) self._cb.clear()
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