mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Added a static "app version" method.
CURA-3335 Single instance Cura and model reloading
This commit is contained in:
parent
94439eddd4
commit
234130eb7a
1 changed files with 4 additions and 0 deletions
|
@ -405,6 +405,10 @@ class CuraApplication(QtApplication):
|
|||
def setDefaultPath(self, key, default_path):
|
||||
Preferences.getInstance().setValue("local_file/%s" % key, QUrl(default_path).toLocalFile())
|
||||
|
||||
@classmethod
|
||||
def getStaticVersion(cls):
|
||||
return CuraVersion
|
||||
|
||||
## Handle loading of all plugin types (and the backend explicitly)
|
||||
# \sa PluginRegistery
|
||||
def _loadPlugins(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue