Fix TreeItem::set_as_cursor check

This commit is contained in:
Ninni Pipping 2022-12-03 16:27:48 +01:00
parent daf168f4c8
commit f90d3554cf
1 changed files with 1 additions and 1 deletions

View File

@ -1018,7 +1018,7 @@ void TreeItem::set_as_cursor(int p_column) {
if (tree->select_mode != Tree::SELECT_MULTI) {
return;
}
if (tree->selected_col == p_column) {
if (tree->selected_item == this && tree->selected_col == p_column) {
return;
}
tree->selected_item = this;