Merge pull request #69561 from AThousandShips/tree_select_fix
Fix TreeItem::set_as_cursor check
This commit is contained in:
commit
92b5e616ae
1 changed files with 1 additions and 1 deletions
|
@ -1018,7 +1018,7 @@ void TreeItem::set_as_cursor(int p_column) {
|
||||||
if (tree->select_mode != Tree::SELECT_MULTI) {
|
if (tree->select_mode != Tree::SELECT_MULTI) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (tree->selected_col == p_column) {
|
if (tree->selected_item == this && tree->selected_col == p_column) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
tree->selected_item = this;
|
tree->selected_item = this;
|
||||||
|
|
Loading…
Reference in a new issue