summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2007-04-20 15:16:48 +0000
committerCarl Hetherington <carl@carlh.net>2007-04-20 15:16:48 +0000
commitf00a5251b587e1af688a6085aeeee24a00a23977 (patch)
treeeb988fb5a80d6d436e78de415cfa0540f0a906ee
parent003c9d6f5e4d5fdc3b95ab516b06e2f89efabdbd (diff)
Update height after changing order to fix mantis bug #1618
git-svn-id: svn://localhost/ardour2/trunk@1734 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/time_axis_view.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc
index 7d69459197..a0f4e5a868 100644
--- a/gtk2_ardour/time_axis_view.cc
+++ b/gtk2_ardour/time_axis_view.cc
@@ -221,6 +221,9 @@ TimeAxisView::show_at (double y, int& nth, VBox *parent)
order = nth;
_hidden = false;
+ /* height in pixels depends on _order, so update it now we've changed _order */
+ set_height (height_style);
+
effective_height = height;
/* now show children */