Fix #94129: Unable to remove added keying set from context menu #111373

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:94129 into main 2023-08-23 09:39:46 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ static int remove_keyingset_button_exec(bContext *C, wmOperator *op)
bool changed = false;
int index = 0;
if (UI_context_active_but_prop_get(C, &ptr, &prop, &index)) {
if (!UI_context_active_but_prop_get(C, &ptr, &prop, &index)) {
/* pass event on if no active button found */
return (OPERATOR_CANCELLED | OPERATOR_PASS_THROUGH);
}