Merge pull request #68728 from Rindbee/fix-wrong-edit
Make sure the popup editor is hidden when selected
This commit is contained in:
commit
48ffaaa81c
|
@ -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) {
|
||||
popup_editor->hide();
|
||||
|
||||
TreeItem::Cell &selected_cell = p_selected->cells.write[p_col];
|
||||
|
||||
bool switched = false;
|
||||
|
|
Loading…
Reference in New Issue