Fix crash on shift+rclick of region to remove.

This doesn't seem to have been touched for years, and I don't see how such an
obvious bug could possibly have been around for so long, but, well, this fixes
it as far as I can tell.
This commit is contained in:
David Robillard 2014-12-06 18:02:36 -05:00
parent 09bd88c9df
commit 2ea4ae603a
1 changed files with 2 additions and 0 deletions

View File

@ -4041,6 +4041,8 @@ Editor::remove_clicked_region ()
return;
}
begin_reversible_command (_("remove region"));
boost::shared_ptr<Playlist> playlist = clicked_routeview->playlist();
playlist->clear_changes ();