summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-05-02 18:13:35 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-05-02 18:13:35 -0400
commit3973ce81b37a9ba6fcd2e7ff95ca730b0aa32252 (patch)
treee5f970e5cbcd5abb168ce59b99c93a65d7cecf3d /gtk2_ardour/midi_time_axis.cc
parentd14f43ccf2eef9c43ecb44f7973962e634d17590 (diff)
remove all of Gtk::Window::set_position (WIN_POS_MOUSE) for anything deriving from ArdourDialog or ArdourWindow; move the set_position() call into those classes' constructors, so that they are called before the windows are realized, and thus it actually works
Diffstat (limited to 'gtk2_ardour/midi_time_axis.cc')
-rw-r--r--gtk2_ardour/midi_time_axis.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc
index 09f7b1b113..535854f9d6 100644
--- a/gtk2_ardour/midi_time_axis.cc
+++ b/gtk2_ardour/midi_time_axis.cc
@@ -517,7 +517,6 @@ MidiTimeAxisView::toggle_channel_selector ()
_channel_selector->set_default_channel_color ();
}
- _channel_selector->set_position (WIN_POS_MOUSE);
_channel_selector->show_all ();
} else {
_channel_selector->cycle_visibility ();