16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 12:49:18 +02:00

workaround for allowing quit in launcher, fixup freeflymodeflag accesses in TTrain

This commit is contained in:
milek7
2020-10-19 02:12:35 +02:00
parent d13cf5c1a4
commit 9b7f10ab57
8 changed files with 30 additions and 30 deletions

View File

@@ -38,8 +38,8 @@ void launcher_ui::render_()
m_vehiclepicker_panel.is_open = !m_vehiclepicker_panel.is_open;
if (ImGui::Button(STR_C("Keymapper"), ImVec2(-1, 0)))
m_keymapper_panel.is_open = !m_keymapper_panel.is_open;
if (ImGui::Button(STR_C("Quit"), ImVec2(-1, 0)))
Application.queue_quit();
if (ImGui::Button(STR_C("Quit"), ImVec2(-1, 0)))
Application.queue_quit(false);
}
ImGui::End();
}