Make the rest of editing modes restorable

This commit is contained in:
2025-06-12 12:40:09 -05:00
parent 6b4e7a0ca6
commit 92dc716c4d
8 changed files with 233 additions and 199 deletions

View File

@@ -1128,6 +1128,10 @@ void readEditorStateFromXml(ticpp::Document&& data, cScenario& scenario) {
elem->GetText(&editor_state.overall_mode);
}else if(type == "type-editing-mode"){
elem->GetText(&editor_state.type_editing_mode);
}else if(type == "string-editing-mode"){
elem->GetText(&editor_state.string_editing_mode);
}else if(type == "special-editing-mode"){
elem->GetText(&editor_state.special_editing_mode);
}
}
}