mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Only set the containerID when the dialog is visible
This prevents unneeded updates CURA-6016
This commit is contained in:
parent
f67ac8d7c4
commit
6c70543d11
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ import Cura 1.0 as Cura
|
|||
|
||||
UM.Dialog
|
||||
{
|
||||
id: base
|
||||
title: catalog.i18nc("@title:window", "Save Project")
|
||||
|
||||
minimumWidth: 500 * screenScaleFactor
|
||||
|
@ -49,7 +50,7 @@ UM.Dialog
|
|||
UM.SettingDefinitionsModel
|
||||
{
|
||||
id: definitionsModel
|
||||
containerId: Cura.MachineManager.activeDefinitionId
|
||||
containerId: base.visible ? Cura.MachineManager.activeDefinitionId: ""
|
||||
showAll: true
|
||||
exclude: ["command_line_settings"]
|
||||
showAncestors: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue