better way to switch to a tab
This commit is contained in:
parent
b17cb184a2
commit
9f0ea99fac
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user