mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Use onActivated for profile override combobox
This commit is contained in:
parent
e35d276e25
commit
fa7dc3a708
1 changed files with 2 additions and 2 deletions
|
|
@ -155,9 +155,9 @@ UM.Dialog
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onCurrentIndexChanged:
|
onActivated:
|
||||||
{
|
{
|
||||||
var code = model.get(currentIndex).code;
|
var code = model.get(index).code;
|
||||||
UM.Preferences.setValue("cura/choice_on_profile_override", code);
|
UM.Preferences.setValue("cura/choice_on_profile_override", code);
|
||||||
|
|
||||||
if (code == "always_keep") {
|
if (code == "always_keep") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue