summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-08 10:54:22 +0200
committerGitHub <noreply@github.com>2020-04-08 10:54:22 +0200
commit8ef9fc37195df7915ef6a8b06fb948722c23b110 (patch)
tree4e9dace668b324083a7323ed4bd6facff2813977 /editor
parentb2f79cac9a4b69a24ccf5f2bfeaeb5b38b7db369 (diff)
parentdb78ad6f2af2364baad3b5d99f1eb3a59518d49a (diff)
Merge pull request #37681 from Anutrix/dont_disconnect
Fix signal disconnection soon after connection in EditorQuickOpen
Diffstat (limited to 'editor')
-rw-r--r--editor/quick_open.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/quick_open.cpp b/editor/quick_open.cpp
index 4d9870235d..1b4439f0a8 100644
--- a/editor/quick_open.cpp
+++ b/editor/quick_open.cpp
@@ -265,8 +265,7 @@ void EditorQuickOpen::_notification(int p_what) {
connect("confirmed", callable_mp(this, &EditorQuickOpen::_confirmed));
search_box->set_clear_button_enabled(true);
- [[fallthrough]];
- }
+ } break;
case NOTIFICATION_EXIT_TREE: {
disconnect("confirmed", callable_mp(this, &EditorQuickOpen::_confirmed));
} break;