Reduce the creations of ExtrudersModels

CURA-6015
This commit is contained in:
Lipu Fei 2018-12-12 11:08:33 +01:00
parent 2cf80b4578
commit 620790ae3d
15 changed files with 44 additions and 34 deletions

View file

@ -16,7 +16,7 @@ Item
property QtObject qualityManager: CuraApplication.getQualityManager()
property var resetEnabled: false // Keep PreferencesDialog happy
property var extrudersModel: Cura.ExtrudersModel {}
property var extrudersModel: CuraApplication.getExtrudersModel()
UM.I18nCatalog { id: catalog; name: "cura"; }