Only autoclose once, fix #570

This commit is contained in:
pietervdvn 2021-11-24 18:04:10 +01:00
parent d68ef6b739
commit 4093a73f4e

View file

@ -197,6 +197,7 @@ export default class DefaultGUI {
return;
}
isOpened.setData(false);
return true; // Unregister this caller - we only autoclose once
});
this.state.selectedElement.addCallbackAndRunD((_) => {