forked from Mirrors/openclonk
Editor: Fix enum delegate setting a value on cancel undeer certain conditions
parent
aa8289b55b
commit
949ab90fc8
|
@ -1230,7 +1230,7 @@ void C4PropertyDelegateEnum::SetModelData(QObject *aeditor, const C4PropertyPath
|
|||
else
|
||||
{
|
||||
// No parameter. Use value.
|
||||
SetOptionValue(use_path, option);
|
||||
if (editor->option_changed) SetOptionValue(use_path, option);
|
||||
}
|
||||
editor->option_changed = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue