summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-08-27 10:49:36 -0500
committerBen Loftis <ben@harrisonconsoles.com>2014-08-27 10:49:36 -0500
commit5db98d9372e44d9bb68932ebd369cad271b4b991 (patch)
treead19905138c3ed78f37757c9e6ea646328a26066 /gtk2_ardour/route_ui.cc
parent74f313dd6b52c5bd36536d90e7b9e62b0679087b (diff)
fix pushed-in state of invert buttons, and fix an initizlization order warning
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r--gtk2_ardour/route_ui.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index a413c0d3e0..ffe7ae13d4 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -77,9 +77,9 @@ RouteUI::RouteUI (ARDOUR::Session* sess)
, sends_menu(0)
, record_menu(0)
, comment_window(0)
+ , comment_area(0)
, input_selector (0)
, output_selector (0)
- , comment_area(0)
, _invert_menu(0)
{
if (sess) init ();
@@ -2077,7 +2077,7 @@ RouteUI::invert_release (GdkEventButton* ev, uint32_t i)
if (N <= _max_invert_buttons) {
/* left-click inverts phase so long as we have a button per channel */
_route->set_phase_invert (i, !_invert_buttons[i]->get_active());
- return true;
+ return false;
}
}
return false;
@@ -2113,7 +2113,7 @@ RouteUI::invert_press (GdkEventButton* ev)
_invert_menu->popup (0, ev->time);
- return false;
+ return true;
}
void