mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 10:45:54 +08: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
@ -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…
x
Reference in New Issue
Block a user