diff options
author | Robin Gareus <robin@gareus.org> | 2015-03-17 11:59:30 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-03-17 11:59:30 +0100 |
commit | a2bcb815ef67f473d3885b369e24e59459298b0e (patch) | |
tree | 5f22df88708c97e51f3b2889e132e7123771d08d /gtk2_ardour/ardour_ui2.cc | |
parent | 741bcc9fa4c0e977df17cca4c18a406ffca3e810 (diff) |
Error Log button, only handle LMB
Allow to fall though to the bar’s context menu.
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui2.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index 5674e88e9b..ef8745fc55 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -334,6 +334,7 @@ ARDOUR_UI::setup_transport () error_alert_button.signal_button_press_event().connect (sigc::mem_fun(*this,&ARDOUR_UI::error_alert_press), false); act = ActionManager::get_action (X_("Editor"), X_("toggle-log-window")); error_alert_button.set_related_action(act); + error_alert_button.set_fallthrough_to_parent(true); alert_box.set_homogeneous (true); alert_box.set_spacing (2); @@ -546,8 +547,11 @@ ARDOUR_UI::feedback_alert_press (GdkEventButton *) } bool -ARDOUR_UI::error_alert_press (GdkEventButton*) +ARDOUR_UI::error_alert_press (GdkEventButton* ev) { + if (ev->button != 1) { + return false; + } _log_not_acknowledged = LogLevelNone; error_blink (false); // immediate acknowledge return true; |