Fix some segfaults on right-clicking a region.
git-svn-id: svn://localhost/ardour2/branches/3.0@7439 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
aecbb04775
commit
058785c718
|
@ -1507,6 +1507,12 @@ Editor::build_track_region_context_menu (nframes64_t frame)
|
|||
MenuList& edit_items = track_region_context_menu.items();
|
||||
edit_items.clear();
|
||||
|
||||
/* we've just cleared the track region context menu, so the menu that these
|
||||
two items were on will have disappeared; stop them dangling.
|
||||
*/
|
||||
region_edit_menu_split_item = 0;
|
||||
region_edit_menu_split_multichannel_item = 0;
|
||||
|
||||
RouteTimeAxisView* rtv = dynamic_cast<RouteTimeAxisView*> (clicked_axisview);
|
||||
|
||||
if (rtv) {
|
||||
|
|
Loading…
Reference in New Issue