Skip to content

Commit

Permalink
Merge pull request #2507 from SasView/perspective_fix_5.0.6
Browse files Browse the repository at this point in the history
Perspective change fix which should go to 5.0.6
  • Loading branch information
Wojciech Potrzebowski committed May 2, 2023
2 parents 4126498 + e75b994 commit 496d7ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sas/qtgui/MainWindow/DataExplorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1909,9 +1909,9 @@ def onAnalysisUpdate(self, new_perspective_name: str):
"""
Update the perspective combo index based on passed string
"""
assert new_perspective in Perspectives.PERSPECTIVES.keys()
assert new_perspective_name in Perspectives.PERSPECTIVES.keys()
self.cbFitting.blockSignals(True)
self.cbFitting.setCurrentIndex(self.cbFitting.findText(new_perspective))
self.cbFitting.setCurrentIndex(self.cbFitting.findText(new_perspective_name))
self.cbFitting.blockSignals(False)
pass

Expand Down

0 comments on commit 496d7ba

Please sign in to comment.