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
9fa17000
Commit
9fa17000
authored
Mar 03, 2020
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
darfix/gui/displayComponentsWidget.py
View file @
9fa17000
...
...
@@ -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