Fix location list order (amend 7ee5a3f24)

This commit is contained in:
Robin Gareus 2023-12-11 15:54:30 +01:00
parent 9f5f7edc5b
commit e7cc096d19
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 3 additions and 0 deletions

View File

@ -1001,6 +1001,9 @@ LocationUI::start_changed (Location *location)
/* Skip locations in the session list that aren't of the right type */
continue;
}
if (location->is_auto_loop() || location-> is_auto_punch()) {
continue;
}
if (l == location) {
box.reorder_child (*r, pos);
break;