Fix ordering of locations
There are two lists, one for ranges, and one for everything else.
This commit is contained in:
parent
1de91fa0fb
commit
1da5c7f389
@ -930,7 +930,7 @@ LocationUI::location_added (Location* location)
|
||||
Box_Helpers::BoxList::iterator j = children.begin ();
|
||||
while (i != loc.end()) {
|
||||
|
||||
if (location->flags() != (*i)->flags()) {
|
||||
if (location->is_range_marker() != (*i)->is_range_marker()) {
|
||||
/* Skip locations in the session list that aren't of the right type */
|
||||
++i;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user