diff --git a/libs/gtkmm2ext/tabbable.cc b/libs/gtkmm2ext/tabbable.cc index 9c3b4694e1..45e21a6b7b 100644 --- a/libs/gtkmm2ext/tabbable.cc +++ b/libs/gtkmm2ext/tabbable.cc @@ -142,7 +142,7 @@ Tabbable::show_window () this Tabbable. */ if (_parent_notebook) { - _parent_notebook->set_current_page (_notebook_position); + _parent_notebook->set_current_page (_parent_notebook->page_num (_contents)); } } }