13
0

Fix crash when session range is created (bug introduced in 7ee5a3f)

This commit is contained in:
Robin Gareus 2023-12-10 01:48:13 +01:00
parent f407d4e3b7
commit fe3827b1d8
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -989,7 +989,9 @@ LocationUI::start_changed (Location *location)
break;
}
}
assert (r);
if (!r) {
return;
}
int pos = 0;
Locations::LocationList loc = _session->locations()->list ();