summaryrefslogtreecommitdiff
path: root/src/controls/Private/BasicTableView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Private/BasicTableView.qml')
-rw-r--r--src/controls/Private/BasicTableView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/BasicTableView.qml b/src/controls/Private/BasicTableView.qml
index 37ecabbf..d99cb0b0 100644
--- a/src/controls/Private/BasicTableView.qml
+++ b/src/controls/Private/BasicTableView.qml
@@ -493,7 +493,7 @@ ScrollView {
y: listView.contentHeight - listView.contentY + listView.originY
width: parent.width
visible: alternatingRowColors
- height: viewport.height - listView.contentHeight
+ height: listView.model && listView.model.count ? (viewport.height - listView.contentHeight) : 0
Repeater {
model: visible ? parent.paddedRowCount : 0
Loader {