summaryrefslogtreecommitdiff
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-02-16 16:39:23 +0100
committerGitHub <noreply@github.com>2022-02-16 16:39:23 +0100
commit33c7f52f361961c64432cfd772909ed3ba76cd51 (patch)
tree6c86397c3797381550815c79938522a3915d58df /editor/plugins/script_editor_plugin.cpp
parentb5c0a892d45b1a9df10aaf0f468252925ea2a4b9 (diff)
parent8824b6c5e9dc6a24a17452ded0c800ec267f812f (diff)
Merge pull request #58169 from megalobyte/update-notificatin-if-to-switch-batch-B
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r--editor/plugins/script_editor_plugin.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index 315879d4ac..205464daee 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -356,6 +356,7 @@ void ScriptEditorQuickOpen::_notification(int p_what) {
case NOTIFICATION_VISIBILITY_CHANGED: {
search_box->set_right_icon(search_options->get_theme_icon(SNAME("Search"), SNAME("EditorIcons")));
} break;
+
case NOTIFICATION_EXIT_TREE: {
disconnect("confirmed", callable_mp(this, &ScriptEditorQuickOpen::_confirmed));
} break;
@@ -1667,9 +1668,6 @@ void ScriptEditor::_notification(int p_what) {
}
} break;
-
- default:
- break;
}
}