start remembering/restoring last open editor menu

This commit is contained in:
2025-06-12 09:58:13 -05:00
parent 7b674ffb5c
commit 6d7711dd22
4 changed files with 26 additions and 0 deletions

View File

@@ -1124,6 +1124,10 @@ void readEditorStateFromXml(ticpp::Document&& data, cScenario& scenario) {
}
}
editor_state.out_view_state[section] = {center, viewing_mode};
}else if(type == "overall-mode"){
elem->GetText(&editor_state.overall_mode);
}else if(type == "type-editing-mode"){
elem->GetText(&editor_state.type_editing_mode);
}
}
}