Skip to content

Commit

Permalink
Fix optional arguments in MA _onChanged
Browse files Browse the repository at this point in the history
  • Loading branch information
LipuFei committed Apr 24, 2018
1 parent 4d7bf57 commit fca14ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ModelChecker/ModelChecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self):
Application.getInstance().globalContainerStackChanged.connect(self._onChanged)

## Pass-through to allow UM.Signal to connect with a pyqtSignal.
def _onChanged(self, _):
def _onChanged(self, *args, **kwargs):
self.onChanged.emit()

## Called when plug-ins are initialized.
Expand Down

0 comments on commit fca14ee

Please sign in to comment.