mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 01:19:01 +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
|
||||
{
|
||||
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…
x
Reference in New Issue
Block a user