mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:59:02 +08:00
Use onActivated for profile override combobox
This commit is contained in:
parent
e35d276e25
commit
fa7dc3a708
@ -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);
|
||||
|
||||
if (code == "always_keep") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user