mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-02-28 15:30:32 +01:00
convert path to utf8 string before displaying it in recent files list
This commit is contained in:
parent
aa77bad015
commit
8150977ae7
@ -548,7 +548,7 @@ int main() {
|
|||||||
int i = 0;
|
int i = 0;
|
||||||
for (const auto& file : Toolbox::getRecentFiles(settings_folder)) {
|
for (const auto& file : Toolbox::getRecentFiles(settings_folder)) {
|
||||||
ImGui::PushID(i);
|
ImGui::PushID(i);
|
||||||
if (ImGui::MenuItem(file.c_str())) {
|
if (ImGui::MenuItem(path_to_utf8_encoded_string(file).c_str())) {
|
||||||
feis::save_open(editor_state, file, assets_folder, settings_folder, config);
|
feis::save_open(editor_state, file, assets_folder, settings_folder, config);
|
||||||
}
|
}
|
||||||
ImGui::PopID();
|
ImGui::PopID();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user