Fix object selection when a function is removed.

This commit is contained in:
Davy Hélard
2022-09-10 16:42:01 +02:00
parent d0a273633e
commit cf9dde1726

View File

@@ -465,7 +465,11 @@ export default class EventsFunctionsExtensionEditor extends React.Component<
this.state.selectedEventsFunction &&
gd.compare(eventsFunction, this.state.selectedEventsFunction)
) {
this._selectEventsFunction(null, this.state.selectedEventsBasedBehavior);
this._selectEventsFunction(
null,
this.state.selectedEventsBasedBehavior,
this.state.selectedEventsBasedObject
);
}
cb(true);