Commit cfebce79 authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

Merge branch 'fix0' into 'master'

Fix bug when resetting dimensions

See merge request julia.garriga/darfix!46
parents ae5d7de3 9fa17000
Pipeline #22389 passed with stage
in 2 minutes and 5 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