don't show empty time axis view context menus
This commit is contained in:
parent
534ca81613
commit
0ab81183c0
@ -738,8 +738,11 @@ TimeAxisView::popup_display_menu (guint32 when)
|
|||||||
conditionally_add_to_selection ();
|
conditionally_add_to_selection ();
|
||||||
|
|
||||||
build_display_menu ();
|
build_display_menu ();
|
||||||
|
|
||||||
|
if (!display_menu->items().empty()) {
|
||||||
display_menu->popup (1, when);
|
display_menu->popup (1, when);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
TimeAxisView::set_selected (bool yn)
|
TimeAxisView::set_selected (bool yn)
|
||||||
|
Loading…
Reference in New Issue
Block a user