mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:29:00 +08:00
Only shown the current settings column when the currently active quality profile is selected
CURA-1668
This commit is contained in:
parent
2d998c127b
commit
da467b9b28
@ -93,7 +93,7 @@ UM.ManagementPage
|
|||||||
|
|
||||||
Row {
|
Row {
|
||||||
id: currentSettingsActions
|
id: currentSettingsActions
|
||||||
visible: base.currentItem.id == -1 || currentItem.id == Cura.MachineManager.activeQualityId
|
visible: currentItem.id == Cura.MachineManager.activeQualityId
|
||||||
|
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.top: profileName.bottom
|
anchors.top: profileName.bottom
|
||||||
@ -128,7 +128,7 @@ UM.ManagementPage
|
|||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
model: Cura.ContainerSettingsModel{ containers: [base.currentItem.id, Cura.MachineManager.activeUserProfileId] }
|
model: Cura.ContainerSettingsModel{ containers: (currentItem.id == Cura.MachineManager.activeQualityId) ? [base.currentItem.id, Cura.MachineManager.activeUserProfileId] : [base.currentItem.id] }
|
||||||
delegate: Row {
|
delegate: Row {
|
||||||
property variant setting: model
|
property variant setting: model
|
||||||
spacing: UM.Theme.getSize("default_margin").width
|
spacing: UM.Theme.getSize("default_margin").width
|
||||||
|
Loading…
x
Reference in New Issue
Block a user