13
0

do the safety dance

This commit is contained in:
Paul Davis 2016-03-15 16:46:52 -04:00
parent c541670a37
commit 285b76dc08

View File

@ -825,13 +825,17 @@ ARDOUR_UI::create_key_editor ()
void void
ARDOUR_UI::add_keyboard_binding_tab (std::string const& name, Gtkmm2ext::Bindings& b) ARDOUR_UI::add_keyboard_binding_tab (std::string const& name, Gtkmm2ext::Bindings& b)
{ {
key_editor->add_tab (name, b); if (key_editor) {
key_editor->add_tab (name, b);
}
} }
void void
ARDOUR_UI::remove_keyboard_binding_tab (std::string const& name) ARDOUR_UI::remove_keyboard_binding_tab (std::string const& name)
{ {
key_editor->remove_tab (name); if (key_editor) {
key_editor->remove_tab (name);
}
} }
BundleManager* BundleManager*