Skip to content

Commit

Permalink
Fix re-saving already saved models
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 6, 2017
1 parent 9156933 commit 6d7b0a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/processing/modeler/ModelerDialog.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def _mimeDataAlgorithm(items):


if model is not None: if model is not None:
self.model = model.clone() self.model = model.clone()
self.model.setSourceFilePath(model.sourceFilePath())
self.textGroup.setText(self.model.group()) self.textGroup.setText(self.model.group())
self.textName.setText(self.model.displayName()) self.textName.setText(self.model.displayName())
self.repaintModel() self.repaintModel()
Expand Down

0 comments on commit 6d7b0a3

Please sign in to comment.