mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Fix one case when collapse/expand didn't work
This commit is contained in:
parent
10a579512b
commit
96e331ae47
@ -838,6 +838,7 @@ void Fl_Icon_Browser::toggle_collapse(void* lp) {
|
|||||||
FL_BLINE* p = l->next;
|
FL_BLINE* p = l->next;
|
||||||
do {
|
do {
|
||||||
// expand only one level below!
|
// expand only one level below!
|
||||||
|
if (p->level <=l->level) break;
|
||||||
if ((p->flags & NOTDISPLAYED) && (p->level==l->level+1))
|
if ((p->flags & NOTDISPLAYED) && (p->level==l->level+1))
|
||||||
invisibles=true;
|
invisibles=true;
|
||||||
} while (p=p->next);
|
} while (p=p->next);
|
||||||
|
Loading…
Reference in New Issue
Block a user