mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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
|
UM.Dialog
|
||||||
{
|
{
|
||||||
|
id: base
|
||||||
title: catalog.i18nc("@title:window", "Save Project")
|
title: catalog.i18nc("@title:window", "Save Project")
|
||||||
|
|
||||||
minimumWidth: 500 * screenScaleFactor
|
minimumWidth: 500 * screenScaleFactor
|
||||||
|
|
@ -49,7 +50,7 @@ UM.Dialog
|
||||||
UM.SettingDefinitionsModel
|
UM.SettingDefinitionsModel
|
||||||
{
|
{
|
||||||
id: definitionsModel
|
id: definitionsModel
|
||||||
containerId: Cura.MachineManager.activeDefinitionId
|
containerId: base.visible ? Cura.MachineManager.activeDefinitionId: ""
|
||||||
showAll: true
|
showAll: true
|
||||||
exclude: ["command_line_settings"]
|
exclude: ["command_line_settings"]
|
||||||
showAncestors: true
|
showAncestors: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue