Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
kmap
xsocs
Commits
3eefd003
Commit
3eefd003
authored
Nov 21, 2018
by
Thomas Vincent
Browse files
fix opening of fit after qspace when it was renamed
parent
9a659eb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
xsocs/gui/XsocsGui.py
View file @
3eefd003
...
...
@@ -227,7 +227,7 @@ class XsocsGui(Qt.QMainWindow):
fitGroup
=
item
.
fitGroup
()
fitItem
=
fitGroup
.
addFitFile
(
fitFile
)
self
.
model
().
refresh
()
index
=
self
.
tree
.
pathToIndex
(
fitItem
.
p
ath
)
index
=
self
.
tree
.
pathToIndex
(
fitItem
.
customP
ath
)
if
index
.
isValid
():
self
.
tree
.
setCurrentIndex
(
index
)
self
.
__showFit
(
index
.
data
(
ModelRoles
.
InternalDataRole
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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