parent
5f4ab5c77d
commit
47a4ca0022
1 changed files with 3 additions and 2 deletions
|
@ -2224,8 +2224,9 @@ void Tree::_go_down() {
|
||||||
TreeItem *next = NULL;
|
TreeItem *next = NULL;
|
||||||
if (!selected_item) {
|
if (!selected_item) {
|
||||||
|
|
||||||
next = hide_root ? root->get_next_visible() : root;
|
if (root) {
|
||||||
selected_item = 0;
|
next = hide_root ? root->get_next_visible() : root;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
next = selected_item->get_next_visible();
|
next = selected_item->get_next_visible();
|
||||||
|
|
Loading…
Reference in a new issue