mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 05:07:50 -06:00
Fix cura crashing
`activeQualityDisplayNameMap` no longer returned a dict and could thus not be a pyqt property Cura-9773
This commit is contained in:
parent
8e8437eab0
commit
be40920042
3 changed files with 6 additions and 7 deletions
|
@ -56,7 +56,7 @@ UM.Dialog
|
|||
UM.Label
|
||||
{
|
||||
id: infoText
|
||||
text: catalog.i18nc("@text:window, %1 is a profile name", "You have customized some profile settings. Would you like to Keep these changed settings after switching profiles? Alternatively, you can discard the changes to load the defaults from '%1'.").arg(Cura.MachineManager.activeQualityDisplayNameMap["main"])
|
||||
text: catalog.i18nc("@text:window, %1 is a profile name", "You have customized some profile settings. Would you like to Keep these changed settings after switching profiles? Alternatively, you can discard the changes to load the defaults from '%1'.").arg(Cura.MachineManager.activeQualityDisplayNameMainStringParts.join(" - "))
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
wrapMode: Text.WordWrap
|
||||
|
@ -83,7 +83,7 @@ UM.Dialog
|
|||
|
||||
columnHeaders: [
|
||||
catalog.i18nc("@title:column", "Profile settings"),
|
||||
Cura.MachineManager.activeQualityDisplayNameMap["main"],
|
||||
Cura.MachineManager.activeQualityDisplayNameMainStringParts.join(" - "),
|
||||
catalog.i18nc("@title:column", "Current changes")
|
||||
]
|
||||
model: UM.TableModel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue