Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLipu Fei <lipu.fei815@gmail.com>2018-04-24 14:56:09 +0300
committerLipu Fei <lipu.fei815@gmail.com>2018-04-24 14:56:09 +0300
commitfca14eeef33ff622fd751f8bb10203e77aa0c8d1 (patch)
treeb79856371165ea264ec8dd778552d09bde0e72aa
parent4d7bf579e647b17281bac2165ffcf3f2833ae48c (diff)
Fix optional arguments in MA _onChanged3.3.0
-rw-r--r--plugins/ModelChecker/ModelChecker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ModelChecker/ModelChecker.py b/plugins/ModelChecker/ModelChecker.py
index baa4a0d00b..297844a0a3 100644
--- a/plugins/ModelChecker/ModelChecker.py
+++ b/plugins/ModelChecker/ModelChecker.py
@@ -34,7 +34,7 @@ class ModelChecker(QObject, Extension):
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.