make meter point button work again, and allow momentary button action to work again
git-svn-id: svn://localhost/ardour2/branches/3.0@5161 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
52fc310cfb
commit
51ef434382
@ -445,8 +445,6 @@ next_meter_point (MeterPoint mp)
|
||||
gint
|
||||
GainMeterBase::meter_press(GdkEventButton* ev)
|
||||
{
|
||||
boost::shared_ptr<Route> _route;
|
||||
|
||||
wait_for_release = false;
|
||||
|
||||
if (!_route) {
|
||||
|
@ -173,8 +173,7 @@ MixerStrip::init ()
|
||||
bottom_button_table.attach (meter_point_button, 1, 2, 0, 1);
|
||||
|
||||
meter_point_button.signal_button_press_event().connect (mem_fun (gpm, &GainMeter::meter_press), false);
|
||||
/* XXX what is this meant to do? */
|
||||
//meter_point_button.signal_button_release_event().connect (mem_fun (gpm, &GainMeter::meter_release), false);
|
||||
meter_point_button.signal_button_release_event().connect (mem_fun (gpm, &GainMeter::meter_release), false);
|
||||
|
||||
hide_button.set_events (hide_button.get_events() & ~(Gdk::ENTER_NOTIFY_MASK|Gdk::LEAVE_NOTIFY_MASK));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user