diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-23 23:05:14 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-23 23:05:14 +0000 |
commit | acaf05db1dd1dee9bcd7d1be4258c00837b90267 (patch) | |
tree | 0821c3cff1e76b6161d2b5fa6053d9e8732d096f /gtk2_ardour/group_tabs.cc | |
parent | 474bf32ae30b87dd7f9eb1b483464097209fb959 (diff) |
Update mixer group tabs on strip width change. Don't display the mixer group tab menu if there's not a group involved.
git-svn-id: svn://localhost/ardour2/branches/3.0@5265 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/group_tabs.cc')
-rw-r--r-- | gtk2_ardour/group_tabs.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/group_tabs.cc b/gtk2_ardour/group_tabs.cc index 938a151b78..03554f72eb 100644 --- a/gtk2_ardour/group_tabs.cc +++ b/gtk2_ardour/group_tabs.cc @@ -86,7 +86,10 @@ GroupTabs::on_button_press_event (GdkEventButton* ev) } else if (ev->button == 3) { RouteGroup* g = t ? t->group : 0; - get_menu(g)->popup (ev->button, ev->time); + Menu* m = get_menu (g); + if (m) { + m->popup (ev->button, ev->time); + } } |