diff options
author | rtk0c <[email protected]> | 2021-04-28 21:25:55 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-04-28 21:28:34 -0700 |
commit | 538e804fc9beb83e711a210ffbb6badc15f285d5 (patch) | |
tree | 6157a4065cfca3204f3406a4533095214ec3e04b /core/src/UI/UI_Items.cpp | |
parent | 00fd95526677d670d002ca81069636f0f74b91f7 (diff) |
Add table visualization for purchases
Diffstat (limited to 'core/src/UI/UI_Items.cpp')
-rw-r--r-- | core/src/UI/UI_Items.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<T>& 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<T>& 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(); |