diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-03 14:51:56 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-03 14:51:56 +0000 |
commit | 1a05a46a217f272294b464e2f03fbc8df2fe5275 (patch) | |
tree | a5ee9c0231f472c6557e5808247e198f74ff8065 /gtk2_ardour/route_ui.cc | |
parent | 1262e9ef58d30c8058856dc307f9d98ece94dd52 (diff) |
fix some bugs with solo state display
git-svn-id: svn://localhost/ardour2/branches/3.0@10415 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 112b3eb73e..007c35a5b6 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -546,10 +546,6 @@ RouteUI::rec_enable_press(GdkEventButton* ev) } } - cerr << name() << " re button press, i am " << _i_am_the_modifier << " active state = " - << rec_enable_button->active_state() - << endl; - if (!_i_am_the_modifier && is_track() && rec_enable_button) { if (Keyboard::is_button2_event (ev)) { @@ -991,7 +987,7 @@ RouteUI::update_solo_display () if (Config->get_solo_control_is_listen_control()) { - if ((solo_button->active_state() == Active)!= (x = _route->listening_via_monitor())) { + if ((bool) solo_button->active_state() != (x = _route->listening_via_monitor())) { ++_i_am_the_modifier; solo_button->set_active_state (Active); --_i_am_the_modifier; @@ -999,7 +995,7 @@ RouteUI::update_solo_display () } else { - if ((solo_button->active_state() == Active) != (x = _route->soloed())) { + if ((bool) solo_button->active_state() != (x = _route->soloed())) { ++_i_am_the_modifier; if (x) { solo_button->set_active_state (Active); |