Keybind: collapse first account if none selected
This commit is contained in:
parent
5d4840dcd8
commit
e2a7b690b3
|
@ -82,7 +82,9 @@ HListView {
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleCollapseAccount() {
|
function toggleCollapseAccount() {
|
||||||
if (! currentItem || filter) return
|
if (filter) return
|
||||||
|
|
||||||
|
if (! currentItem) incrementCurrentIndex()
|
||||||
|
|
||||||
if (currentItem.item.delegateModel.type == "Account") {
|
if (currentItem.item.delegateModel.type == "Account") {
|
||||||
currentItem.item.toggleCollapse()
|
currentItem.item.toggleCollapse()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user