aboutsummaryrefslogtreecommitdiff
path: root/core/src/UI/UI_Items.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-04-14 15:09:13 -0700
committerrtk0c <[email protected]>2021-04-14 15:09:13 -0700
commit80d8ae5a6fef6c9a34e81e240539cb655dd99851 (patch)
tree062bb1590eaf030b75aae75acecc5706e16d9b0c /core/src/UI/UI_Items.cpp
parent568fcc1dfe40c37b57b7baa2dea93b291d3fa956 (diff)
Initial work on workflows
Diffstat (limited to 'core/src/UI/UI_Items.cpp')
-rw-r--r--core/src/UI/UI_Items.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/UI/UI_Items.cpp b/core/src/UI/UI_Items.cpp
index a094f76..56d6c2a 100644
--- a/core/src/UI/UI_Items.cpp
+++ b/core/src/UI/UI_Items.cpp
@@ -93,7 +93,7 @@ void ItemListEntries(ItemList<T>& list, int& selectedIdx) {
constexpr bool kHasEmail = requires(T t) { t.GetEmail(); };
constexpr bool kHasStock = requires(T t) { t.GetPrice(); };
constexpr bool kHasPrice = requires(T t) { t.GetPrice(); };
- constexpr int kColumns = 1 /* Name column */ + kHasDescription + kHasEmail;
+ constexpr int kColumns = 1 /* Name column */ + kHasDescription + kHasEmail + kHasStock + kHasPrice;
auto ls = LocaleStrings::Instance.get();
auto& uis = UIState::GetInstance();