Work-around crash when printing bindings
authorRobin Gareus <robin@gareus.org>
Sat, 9 Mar 2019 20:58:45 +0000 (21:58 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 9 Mar 2019 20:59:16 +0000 (21:59 +0100)
(ardour -b or Keyboard-Shortcuts > Print Bindings)
see also https://github.com/Ardour/ardour/pull/447

libs/gtkmm2ext/actions.cc

index 3cb007e04ffc2ace95dc8b213cfaf5604dc4ca61..da5aa80fe7840cfa24245b8774c31de87e0e5c63 100644 (file)
@@ -544,8 +544,8 @@ ActionManager::get_all_actions (std::vector<std::string>& paths,
                        } else {
                                keys.push_back (string());
                        }
-               }
+#else
+                       keys.push_back (string());
 #endif
-
        }
 }