Fix empty_clicked signal when hide_root
fix
This commit is contained in:
parent
68ad520da4
commit
d339c71edc
1 changed files with 1 additions and 0 deletions
|
@ -3868,6 +3868,7 @@ void Tree::gui_input(const Ref<InputEvent> &p_event) {
|
|||
}
|
||||
|
||||
if (!root || (!root->get_first_child() && hide_root)) {
|
||||
emit_signal(SNAME("empty_clicked"), get_local_mouse_position(), mb->get_button_index());
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue