You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Merge pull request #68728 from Rindbee/fix-wrong-edit
Make sure the popup editor is hidden when selected
This commit is contained in:
@@ -2471,6 +2471,8 @@ bool Tree::_is_sibling_branch_selected(TreeItem *p_from) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Tree::select_single_item(TreeItem *p_selected, TreeItem *p_current, int p_col, TreeItem *p_prev, bool *r_in_range, bool p_force_deselect) {
|
void Tree::select_single_item(TreeItem *p_selected, TreeItem *p_current, int p_col, TreeItem *p_prev, bool *r_in_range, bool p_force_deselect) {
|
||||||
|
popup_editor->hide();
|
||||||
|
|
||||||
TreeItem::Cell &selected_cell = p_selected->cells.write[p_col];
|
TreeItem::Cell &selected_cell = p_selected->cells.write[p_col];
|
||||||
|
|
||||||
bool switched = false;
|
bool switched = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user