Fix signal disconnection soon after connection in EditorQuickOpen
This commit is contained in:
parent
b2f79cac9a
commit
db78ad6f2a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue