Commit b4ca99c4 authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

gui: fix cast error in simulation editor

parent 6a6036fb
Pipeline #34554 passed with stage
in 1 minute and 33 seconds
......@@ -328,19 +328,11 @@ application::show_simulation_window()
ed->show_select_directory_dialog = true;
ImGui::Text("output directory:");
#if _WIN32
ImGui::InputText(
"Path",
const_cast<char*>(ed->observation_directory.u8string().c_str()),
ed->observation_directory.u8string().size(),
ImGuiInputTextFlags_ReadOnly);
#else
ImGui::InputText("Path",
const_cast<char*>(reinterpret_cast<const char*>(
ed->observation_directory.u8string().c_str())),
ed->observation_directory.u8string().size(),
ImGuiInputTextFlags_ReadOnly);
#endif
ImGui::Spacing();
ImGui::Separator();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment