mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-09-09 00:07:52 -06:00
Make currency preference settable
This commit is contained in:
parent
4429825d15
commit
ac34fe89ee
1 changed files with 13 additions and 0 deletions
|
@ -128,6 +128,19 @@ UM.PreferencesPage
|
||||||
currentIndex -= 1;
|
currentIndex -= 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
id: currencyLabel
|
||||||
|
text: catalog.i18nc("@label","Currency:")
|
||||||
|
anchors.verticalCenter: languageComboBox.verticalCenter
|
||||||
|
}
|
||||||
|
TextField
|
||||||
|
{
|
||||||
|
id: currencyField
|
||||||
|
text: UM.Preferences.getValue("cura/currency")
|
||||||
|
onTextChanged: UM.Preferences.setValue("cura/currency", text)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue