mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Improve fixes
This commit is contained in:
parent
c3cd6f8052
commit
ac0192f01f
4 changed files with 20 additions and 9 deletions
|
@ -234,7 +234,7 @@ class Toolbox(QObject, Extension):
|
|||
# Apply enabled/disabled state to installed plugins
|
||||
self.enabledChanged.emit()
|
||||
|
||||
def _createDialog(self, qml_name: str) -> QObject:
|
||||
def _createDialog(self, qml_name: str) -> Optional[QObject]:
|
||||
Logger.log("d", "Toolbox: Creating dialog [%s].", qml_name)
|
||||
plugin_path = PluginRegistry.getInstance().getPluginPath(self.getPluginId())
|
||||
if not plugin_path:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue