Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
XRD
darfix
Commits
cfebce79
Commit
cfebce79
authored
Mar 03, 2020
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
darfix/gui/displayComponentsWidget.py
View file @
cfebce79
...
...
@@ -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
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment