summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorHans Baier <hansfbaier@googlemail.com>2008-04-19 10:41:12 +0000
committerHans Baier <hansfbaier@googlemail.com>2008-04-19 10:41:12 +0000
commitd0cee9db099419cfbd1ad90429c2a7647b95931e (patch)
treea45583b83a7afc8df67583f8d2f0db7579f60f29 /gtk2_ardour
parentd8adfa49a6a7b2cf48b125807f348babd1433775 (diff)
* fixed display bug in track channel selector
git-svn-id: svn://localhost/ardour2/branches/3.0@3269 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/midi_time_axis.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc
index 8f76220304..3ad66f4b9f 100644
--- a/gtk2_ardour/midi_time_axis.cc
+++ b/gtk2_ardour/midi_time_axis.cc
@@ -90,8 +90,8 @@ MidiTimeAxisView::MidiTimeAxisView (PublicEditor& ed, Session& sess, boost::shar
, _note_mode(Sustained)
, _note_mode_item(NULL)
, _percussion_mode_item(NULL)
- , _channel_selector(0)
, _midi_expander("MIDI")
+ , _channel_selector(0)
{
subplugin_menu.set_name ("ArdourContextMenu");
@@ -394,10 +394,10 @@ MidiTimeAxisView::channel_selector_toggled()
if(_midi_expander.property_expanded()) {
previous_height = height_style;
if(previous_height != TimeAxisView::Largest) {
- TimeAxisView::set_height(TimeAxisView::Large);
+ set_height(TimeAxisView::Large);
}
} else {
- TimeAxisView::set_height(previous_height);
+ set_height(previous_height);
}
}