Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request #283 from mattjhill/checkbox_bugs
Browse files Browse the repository at this point in the history
emit on_changed_model when parameters are fixed
  • Loading branch information
nmearl authored Apr 4, 2017
2 parents ca095ae + 1b96b9a commit 178eb5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions specviz/plugins/model_fitting_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,8 @@ def _fix_model_parameter(self, model_item, col=0):
model = parent.data(0, Qt.UserRole)
param = getattr(model, model_item.text(0))
param.fixed = bool(model_item.checkState(col))
dispatch.on_changed_model.emit(model_item=model_item)


def fit_model_layer(self):
current_layer = self.current_layer
Expand Down

0 comments on commit 178eb5f

Please sign in to comment.