mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Merge branch 'master' into fix_tests_cura_engine_backend
This commit is contained in:
commit
75d5828f5f
13 changed files with 119 additions and 54 deletions
|
@ -170,11 +170,10 @@ class DiscoverUM3Action(MachineAction):
|
|||
Logger.log("d", "Creating additional ui components for UM3.")
|
||||
|
||||
# Create networking dialog
|
||||
path = os.path.join(cast(str, PluginRegistry.getInstance().getPluginPath("UM3NetworkPrinting")), "UM3InfoComponents.qml")
|
||||
if not path:
|
||||
Logger.log("w", "Could not get QML path for UM3 network printing UI.")
|
||||
plugin_path = PluginRegistry.getInstance().getPluginPath("UM3NetworkPrinting")
|
||||
if not plugin_path:
|
||||
return
|
||||
|
||||
path = os.path.join(plugin_path, "UM3InfoComponents.qml")
|
||||
self.__additional_components_view = CuraApplication.getInstance().createQmlComponent(path, {"manager": self})
|
||||
if not self.__additional_components_view:
|
||||
Logger.log("w", "Could not create ui components for UM3.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue