Browse Source

Add missing getVersion and location for quality

It worked out because older plug-ins still defined this, but let's properly put it in here too.

Contributes to issue CURA-5054.
Ghostkeeper 7 years ago
parent
commit
970f1da810
1 changed files with 4 additions and 0 deletions
  1. 4 0
      plugins/VersionUpgrade/VersionUpgrade30to31/__init__.py

+ 4 - 0
plugins/VersionUpgrade/VersionUpgrade30to31/__init__.py

@@ -33,6 +33,10 @@ def getMetaData():
                 "get_version": upgrade.getCfgVersion,
                 "location": {"./extruders"}
             },
+            "quality": {
+                "get_version": upgrade.getCfgVersion,
+                "location": {"./quality"}
+            },
             "quality_changes": {
                 "get_version": upgrade.getCfgVersion,
                 "location": {"./quality"}