mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 08:55:54 +08:00
Revert "CuraApplication: Minor pep8 fix"
This reverts commit ee1ba30d0eec849f78a710ee5f270b2c756402fc.
This commit is contained in:
parent
234e724fe9
commit
1e3cfc56be
@ -488,7 +488,7 @@ class CuraApplication(QtApplication):
|
|||||||
f.write(data)
|
f.write(data)
|
||||||
|
|
||||||
|
|
||||||
@pyqtSlot(str, result=QUrl)
|
@pyqtSlot(str, result = QUrl)
|
||||||
def getDefaultPath(self, key):
|
def getDefaultPath(self, key):
|
||||||
default_path = Preferences.getInstance().getValue("local_file/%s" % key)
|
default_path = Preferences.getInstance().getValue("local_file/%s" % key)
|
||||||
return QUrl.fromLocalFile(default_path)
|
return QUrl.fromLocalFile(default_path)
|
||||||
@ -1128,7 +1128,7 @@ class CuraApplication(QtApplication):
|
|||||||
|
|
||||||
expandedCategoriesChanged = pyqtSignal()
|
expandedCategoriesChanged = pyqtSignal()
|
||||||
|
|
||||||
@pyqtProperty("QStringList", notify=expandedCategoriesChanged)
|
@pyqtProperty("QStringList", notify = expandedCategoriesChanged)
|
||||||
def expandedCategories(self):
|
def expandedCategories(self):
|
||||||
return Preferences.getInstance().getValue("cura/categories_expanded").split(";")
|
return Preferences.getInstance().getValue("cura/categories_expanded").split(";")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user