Commit 39aea52e authored by Jim Nelson's avatar Jim Nelson

#1416: Oops. Needed to call virtual method before using context menu object.

parent a0357952
......@@ -793,7 +793,11 @@ public abstract class CheckerboardPage : Page {
public Gtk.Menu? get_context_menu() {
// show page context menu if nothing is selected
return (get_view().get_selected_count() != 0) ? item_context_menu : page_context_menu;
return (get_view().get_selected_count() != 0) ? get_item_context_menu() : get_page_context_menu();
}
public virtual Gtk.Menu? get_item_context_menu() {
return item_context_menu;
}
public override Gtk.Menu? get_page_context_menu() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment