mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix optional arguments in MA _onChanged
This commit is contained in:
parent
4d7bf579e6
commit
fca14eeef3
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class ModelChecker(QObject, Extension):
|
||||||
Application.getInstance().globalContainerStackChanged.connect(self._onChanged)
|
Application.getInstance().globalContainerStackChanged.connect(self._onChanged)
|
||||||
|
|
||||||
## Pass-through to allow UM.Signal to connect with a pyqtSignal.
|
## Pass-through to allow UM.Signal to connect with a pyqtSignal.
|
||||||
def _onChanged(self, _):
|
def _onChanged(self, *args, **kwargs):
|
||||||
self.onChanged.emit()
|
self.onChanged.emit()
|
||||||
|
|
||||||
## Called when plug-ins are initialized.
|
## Called when plug-ins are initialized.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue