Skip to content

Commit

Permalink
Don't show RPA in the list of models #2022
Browse files Browse the repository at this point in the history
  • Loading branch information
rozyczko committed Feb 25, 2022
1 parent 2b894cb commit 6a4903c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -1476,7 +1476,7 @@ def onSelectCategory(self):
# Populate the models combobox
self.cbModel.blockSignals(True)
self.cbModel.addItem(MODEL_DEFAULT)
self.cbModel.addItems(sorted([model for (model, _) in model_list]))
self.cbModel.addItems(sorted([model for (model, _) in model_list if model != 'rpa']))
self.cbModel.blockSignals(False)

def onPolyModelChange(self, top, bottom):
Expand Down

0 comments on commit 6a4903c

Please sign in to comment.