From 538e804fc9beb83e711a210ffbb6badc15f285d5 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Wed, 28 Apr 2021 21:25:55 -0700 Subject: Add table visualization for purchases --- core/src/UI/UI_MainWindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/src/UI/UI_MainWindow.cpp') diff --git a/core/src/UI/UI_MainWindow.cpp b/core/src/UI/UI_MainWindow.cpp index 001c2b8..4f09281 100644 --- a/core/src/UI/UI_MainWindow.cpp +++ b/core/src/UI/UI_MainWindow.cpp @@ -125,7 +125,7 @@ void ProjectTab_NoProject() { // Recent projects ImGui::Separator(); - ImGui::Text("%s", ls->RecentProjects.Get()); + ImGui::TextUnformatted(ls->RecentProjects.Get()); ImGui::SameLine(); if (ImGui::Button(ls->ClearRecentProjects.Get())) { @@ -137,11 +137,11 @@ void ProjectTab_NoProject() { size_t toRemoveIdx = rp.size(); if (rp.empty()) { - ImGui::Text("%s", ls->NoRecentProjectsMessage.Get()); + ImGui::TextUnformatted(ls->NoRecentProjectsMessage.Get()); } else { for (auto it = rp.rbegin(); it != rp.rend(); ++it) { auto& [path, recent] = *it; - ImGui::Text("%s", recent.c_str()); + ImGui::TextUnformatted(recent.c_str()); size_t idx = std::distance(it, rp.rend()) - 1; ImGui::PushID(idx); -- cgit v1.2.3-70-g09d2