mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
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
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue