mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix object selection when a function is removed.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user