mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Only instantiate setting menus when it's visible
This saves a bit of time on booting and prevents unneeded updates ( because it doesn't matter if a setting changes if no-one is watching!)
This commit is contained in:
parent
dee739db8b
commit
7754b8a447
2 changed files with 5 additions and 2 deletions
|
@ -19,7 +19,6 @@ class BaseMaterialsModel(ListModel):
|
|||
|
||||
def __init__(self, parent = None):
|
||||
super().__init__(parent)
|
||||
|
||||
from cura.CuraApplication import CuraApplication
|
||||
|
||||
self._application = CuraApplication.getInstance()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue