From f00a5251b587e1af688a6085aeeee24a00a23977 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 20 Apr 2007 15:16:48 +0000 Subject: [PATCH] Update height after changing order to fix mantis bug #1618 git-svn-id: svn://localhost/ardour2/trunk@1734 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/time_axis_view.cc | 3 +++ 1 file changed, 3 insertions(+) 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 */