mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
re-order startup process, registering actions early
Mostly to stop an error when UIConfiguration::map_parameters() looks for an action that has not yet been registered
This commit is contained in:
parent
e5ae620c0b
commit
9d1fa8f820
4 changed files with 186 additions and 166 deletions
|
|
@ -75,7 +75,8 @@ ARDOUR_UI::we_have_dependents ()
|
|||
error << _("Global keybindings are missing") << endmsg;
|
||||
}
|
||||
|
||||
install_actions ();
|
||||
install_dependent_actions ();
|
||||
|
||||
/* The monitor section relies on at least 1 action defined by us. Since that
|
||||
* action now exists, give it a chance to use it.
|
||||
*/
|
||||
|
|
@ -85,7 +86,7 @@ ARDOUR_UI::we_have_dependents ()
|
|||
*/
|
||||
ProcessorBox::register_actions ();
|
||||
StepEntry::setup_actions_and_bindings ();
|
||||
|
||||
|
||||
/* Global, editor, mixer, processor box actions are defined now. Link
|
||||
them with any bindings, so that GTK does not get a chance to define
|
||||
the GTK accel map entries first when we ask the GtkUIManager to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue