Show Editor-Mixer by default

This commit is contained in:
Robin Gareus 2024-02-18 16:41:30 +01:00
parent 0e88df426e
commit 5d2a25827e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 3 additions and 2 deletions

View File

@ -2622,8 +2622,9 @@ Editor::set_state (const XMLNode& node, int version)
set_stationary_playhead (yn);
}
if (node.get_property ("show-editor-mixer", yn)) {
yn = true;
node.get_property ("show-editor-mixer", yn);
{
Glib::RefPtr<ToggleAction> tact = ActionManager::get_toggle_action (X_("Editor"), X_("show-editor-mixer"));
/* do it twice to force the change */
tact->set_active (!yn);