parent
5f4ab5c77d
commit
47a4ca0022
|
@ -2224,8 +2224,9 @@ void Tree::_go_down() {
|
||||||
TreeItem *next = NULL;
|
TreeItem *next = NULL;
|
||||||
if (!selected_item) {
|
if (!selected_item) {
|
||||||
|
|
||||||
|
if (root) {
|
||||||
next = hide_root ? root->get_next_visible() : root;
|
next = hide_root ? root->get_next_visible() : root;
|
||||||
selected_item = 0;
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
next = selected_item->get_next_visible();
|
next = selected_item->get_next_visible();
|
||||||
|
|
Loading…
Reference in New Issue