fix crash when dragging markers

This commit is contained in:
Paul Davis 2021-07-27 12:08:00 -06:00
parent 9c2e4ec6d2
commit 40c29640f5
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ Editor::LocationMarkers::set_position (timepos_t const & startt,
timepos_t const & endt)
{
start->set_position (startt);
if (!endt.zero()) {
if (end && !endt.zero()) {
end->set_position (endt);
}
}