summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-05-11 00:09:41 +0000
committerCarl Hetherington <carl@carlh.net>2010-05-11 00:09:41 +0000
commit7e6014a07759c93dc3c4f65456eb1fd2b4a7dc3a (patch)
treef9f5e7e83646e4676e2fc432a8aadeba5e9fe63a /gtk2_ardour/route_time_axis.cc
parent37a34bb8b0568ad28fa6c3697a2eab296b0af7ae (diff)
Fix track height menu.
git-svn-id: svn://localhost/ardour2/branches/3.0@7093 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 27c9998574..e77063c893 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -756,7 +756,7 @@ RouteTimeAxisView::set_height (uint32_t h)
snprintf (buf, sizeof (buf), "%u", height);
xml_node->add_property ("height", buf);
- if (height >= hNormal) {
+ if (height >= preset_height (HeightNormal)) {
reset_meter();
show_name_entry ();
hide_name_label ();
@@ -778,7 +778,7 @@ RouteTimeAxisView::set_height (uint32_t h)
playlist_button.show();
}
- } else if (height >= hSmaller) {
+ } else if (height >= preset_height (HeightSmaller)) {
reset_meter();
show_name_entry ();