diff options
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r-- | src/gui/widgets/itemcontainer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h index ba640d374..c992c43f5 100644 --- a/src/gui/widgets/itemcontainer.h +++ b/src/gui/widgets/itemcontainer.h @@ -123,7 +123,7 @@ class ItemContainer final : public Widget, void setName(const std::string &str) { mName = str; } - void updateMatrix(); + int updateMatrix(); bool getClickCount() const noexcept2 A_WARN_UNUSED { return mClicks != 0; } @@ -202,6 +202,7 @@ class ItemContainer final : public Widget, SelectionListenerList mSelectionListeners; int mGridColumns; int mGridRows; + int mDrawRows; int mSelectedIndex; int mLastUsedSlot; int mTag; |