summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-13 21:34:04 +0000
committerDavid Robillard <d@drobilla.net>2008-01-13 21:34:04 +0000
commit794917fca7c516cbe287f5aa2ec7c1dbf058089a (patch)
treef937c5183434d707756f4430b0b61668cbcd5497 /gtk2_ardour/midi_time_axis.cc
parent2db91c126edc8fcaeda711d35369970576715719 (diff)
Install everything to *ardour3* instead of *ardour2*.
Fix initial display of keys and scroomer on new MIDI tracks. Remove console barf. git-svn-id: svn://localhost/ardour2/trunk@2909 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.cc')
-rw-r--r--gtk2_ardour/midi_time_axis.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc
index b3892d2790..343e869292 100644
--- a/gtk2_ardour/midi_time_axis.cc
+++ b/gtk2_ardour/midi_time_axis.cc
@@ -128,7 +128,6 @@ MidiTimeAxisView::MidiTimeAxisView (PublicEditor& ed, Session& sess, boost::shar
/* ask for notifications of any new RegionViews */
_view->attach ();
-
}
}
@@ -148,7 +147,10 @@ MidiTimeAxisView::show_at (double y, int& nth, Gtk::VBox *parent)
ensure_xml_node ();
xml_node->add_property ("shown_editor", "yes");
- return TimeAxisView::show_at (y, nth, parent);
+ guint32 ret = TimeAxisView::show_at (y, nth, parent);
+ _piano_roll_header->show();
+ _range_scroomer->show();
+ return ret;
}
void