Fix some legacy code

This commit is contained in:
kobewi committed 2024-08-01 12:08:14 +02:00
1 parent 3978628c6c
commit 0d1c388991
4 files changed
+11 -22

No files matched your search

-4
View File
@@ -4412,13 +4412,9 @@ bool ScriptEditorPlugin::handles(Object *p_object) const {
void ScriptEditorPlugin::make_visible(bool p_visible) {
if (p_visible) {
window_wrapper->show();
script_editor->set_process(true);
script_editor->ensure_select_current();
} else {
window_wrapper->hide();
if (!window_wrapper->get_window_enabled()) {
script_editor->set_process(false);
}
}
}