Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix re-saving already saved models
  • 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
Expand Up @@ -238,6 +238,7 @@ def _mimeDataAlgorithm(items):

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

0 comments on commit 6d7b0a3

Please sign in to comment.