diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml index a71264da0d7dc3bbc718dd76cea222efea137bed..fad6ee47a47df4648e4c15588c60ecf62ad5c6b2 100644 --- a/src/controls/TableView.qml +++ b/src/controls/TableView.qml @@ -470,7 +470,7 @@ ScrollView { // Fills extra rows with alternate color Column { id: rowfiller - property int rowHeight: listView.contentHeight/count + property int rowHeight: count ? listView.contentHeight/count : height property int paddedRowCount: height/rowHeight property int count: listView.count y: listView.contentHeight