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):
self._cb.addItem(dimension)
def resetDimensions(self):
for i in range(1, self._cb.count()):
self._cb.removeItem(i)
oldState = self._cb.blockSignals(True)
self._cb.clear()
self._cb.addItem("None")
self._cb.blockSignals(oldState)
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