From b67bb8165b866cb37b7fa13e5cc0380bc693c4d6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 11 Jan 2019 12:54:44 -0600 Subject: [PATCH] do not crash if an unknown action is used by US2400 support --- libs/surfaces/us2400/gui.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/surfaces/us2400/gui.cc b/libs/surfaces/us2400/gui.cc index 7a81033b11..a14620edd9 100644 --- a/libs/surfaces/us2400/gui.cc +++ b/libs/surfaces/us2400/gui.cc @@ -556,7 +556,7 @@ US2400ProtocolGUI::refresh_function_key_editor () row[function_key_columns.plain] = action; } else { - act = ActionManager::get_action (action.c_str()); + act = ActionManager::get_action (action.c_str(), false); if (act) { row[function_key_columns.plain] = act->get_label(); } else { @@ -677,7 +677,7 @@ US2400ProtocolGUI::action_changed (const Glib::ustring &sPath, const Glib::ustri return; } } - Glib::RefPtr act = ActionManager::get_action (i->second.c_str()); + Glib::RefPtr act = ActionManager::get_action (i->second.c_str(), false); if (act || remove) { /* update visible text, using string supplied by