summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-07-08 15:37:49 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-22 15:31:21 -0500
commit9f0ea99fac77455c5d5db3bfa36cb75e85760d52 (patch)
tree44e9a6afca9cddaf41b9e1d12d197735765d357f /libs
parentb17cb184a2c0bfba6eb60b16386900b91a26f001 (diff)
better way to switch to a tab
Diffstat (limited to 'libs')
-rw-r--r--libs/gtkmm2ext/tabbable.cc2
1 files changed, 1 insertions, 1 deletions
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));
}
}
}