fix: handle hidden items during shift-click
This commit is contained in:
parent
03c5124859
commit
c75845e3d3
1 changed files with 7 additions and 1 deletions
|
|
@ -3299,7 +3299,13 @@ impl Tab {
|
||||||
.take(max_real - min_real + 1)
|
.take(max_real - min_real + 1)
|
||||||
{
|
{
|
||||||
if let Some(item) = items.get_mut(index) {
|
if let Some(item) = items.get_mut(index) {
|
||||||
item.selected = true;
|
if item.hidden {
|
||||||
|
if self.config.show_hidden {
|
||||||
|
item.selected = true;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
item.selected = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue