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:
authorGhostkeeper <rubend@tutanota.com>2019-01-24 19:31:08 +0300
committerGhostkeeper <rubend@tutanota.com>2019-01-24 19:31:08 +0300
commitd535008e0891fd459a0e4bca2be4eac42b1bd80d (patch)
tree559e44d812e3bcbb560b64f91d4215e53f315abc /plugins/CuraDrive
parentaac82a0852b37dc007fae9911c6aabecc610bfb6 (diff)
Don't repeat the plug-in name
If it changes, this will crash Cura.
Diffstat (limited to 'plugins/CuraDrive')
-rw-r--r--plugins/CuraDrive/src/DrivePluginExtension.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CuraDrive/src/DrivePluginExtension.py b/plugins/CuraDrive/src/DrivePluginExtension.py
index 060f1496f1..2091a47c0d 100644
--- a/plugins/CuraDrive/src/DrivePluginExtension.py
+++ b/plugins/CuraDrive/src/DrivePluginExtension.py
@@ -68,7 +68,7 @@ class DrivePluginExtension(QObject, Extension):
def showDriveWindow(self) -> None:
if not self._drive_window:
- plugin_dir_path = CuraApplication.getInstance().getPluginRegistry().getPluginPath("CuraDrive")
+ plugin_dir_path = CuraApplication.getInstance().getPluginRegistry().getPluginPath(self.getPluginId())
path = os.path.join(plugin_dir_path, "src", "qml", "main.qml")
self._drive_window = CuraApplication.getInstance().createQmlComponent(path, {"CuraDrive": self})
self.refreshBackups()