mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 14:19:00 +08:00
Fix optional arguments in MA _onChanged
This commit is contained in:
parent
4d7bf579e6
commit
fca14eeef3
@ -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…
x
Reference in New Issue
Block a user