Make deselect-all instantaneous
This commit is contained in:
parent
41f0b2c354
commit
4c5a679066
@ -1584,9 +1584,8 @@ func (t *Terminal) Loop() {
|
|||||||
}
|
}
|
||||||
case actDeselectAll:
|
case actDeselectAll:
|
||||||
if t.multi {
|
if t.multi {
|
||||||
for i := 0; i < t.merger.Length(); i++ {
|
t.selected = make(map[int32]selectedItem)
|
||||||
t.deselectItem(t.merger.Get(i).item)
|
t.version++
|
||||||
}
|
|
||||||
req(reqList, reqInfo)
|
req(reqList, reqInfo)
|
||||||
}
|
}
|
||||||
case actToggle:
|
case actToggle:
|
||||||
|
Loading…
Reference in New Issue
Block a user