Fix signal disconnection soon after connection in EditorQuickOpen

This commit is contained in:
unknown 2020-04-08 14:08:50 +05:30
parent b2f79cac9a
commit db78ad6f2a

View file

@ -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;