Deselect column only if belongs to deselected item
This commit is contained in:
parent
864caf5711
commit
5cd5722f6a
1 changed files with 3 additions and 3 deletions
|
@ -3354,10 +3354,10 @@ void Tree::item_selected(int p_column, TreeItem *p_item) {
|
|||
void Tree::item_deselected(int p_column, TreeItem *p_item) {
|
||||
if (selected_item == p_item) {
|
||||
selected_item = nullptr;
|
||||
}
|
||||
|
||||
if (selected_col == p_column) {
|
||||
selected_col = -1;
|
||||
if (selected_col == p_column) {
|
||||
selected_col = -1;
|
||||
}
|
||||
}
|
||||
|
||||
if (select_mode == SELECT_MULTI || select_mode == SELECT_SINGLE) {
|
||||
|
|
Loading…
Reference in a new issue