summaryrefslogtreecommitdiff
path: root/ui/grid_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/grid_view.h')
-rw-r--r--ui/grid_view.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/ui/grid_view.h b/ui/grid_view.h
index c830224b..5fc80338 100644
--- a/ui/grid_view.h
+++ b/ui/grid_view.h
@@ -181,16 +181,12 @@ private:
-
-
-
-//############################################################################
-//inline implementation
+//##################### implementation #########################################
inline
const FileSystemObject* GridView::getObject(size_t row) const
{
- return row < rowsOnView() ?
+ return row < viewRef.size() ?
FileSystemObject::retrieve(viewRef[row]) : nullptr;
}
bgstack15