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_Items.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/src/UI/UI_Items.cpp') diff --git a/core/src/UI/UI_Items.cpp b/core/src/UI/UI_Items.cpp index 899db6e..624f942 100644 --- a/core/src/UI/UI_Items.cpp +++ b/core/src/UI/UI_Items.cpp @@ -122,12 +122,12 @@ void ItemListEntries(ItemList& list, int& selectedIdx) { if constexpr (kHasDescription) { ImGui::TableNextColumn(); - ImGui::Text("%s", entry.GetDescription().c_str()); + ImGui::TextUnformatted(entry.GetDescription().c_str()); } if constexpr (kHasEmail) { ImGui::TableNextColumn(); - ImGui::Text("%s", entry.GetEmail().c_str()); + ImGui::TextUnformatted(entry.GetEmail().c_str()); } if constexpr (kHasStock) { @@ -198,7 +198,7 @@ void ItemListEditor(ItemList& list) { list.Remove(selectedIdx); } if (ImGui::BeginPopupModal(ls->DeleteItemDialogTitle.Get(), &opened, ImGuiWindowFlags_AlwaysAutoResize)) { - ImGui::Text("%s", ls->DeleteItemDialogMessage.Get()); + ImGui::TextUnformatted(ls->DeleteItemDialogMessage.Get()); if (ImGui::Button(ls->DialogConfirm.Get())) { ImGui::CloseCurrentPopup(); -- cgit v1.2.3-70-g09d2