diff --git a/qml/FolderPage.qml b/qml/FolderPage.qml index 7c66f3b..9adcbae 100644 --- a/qml/FolderPage.qml +++ b/qml/FolderPage.qml @@ -149,7 +149,7 @@ Item { anchors.centerIn: parent visible: dirModel.status === FM.FolderModel.Ready && _viewLoader.status === Loader.Ready - && _viewLoader.item.count === 0 + && dirModel.count === 0 } FM.FolderModel { @@ -328,9 +328,6 @@ Item { settings.gridIconSize = _gridView.iconSize } - onCountChanged: { - _fileTips.visible = count === 0 - } } } @@ -350,10 +347,6 @@ Item { bottomMargin: FishUI.Units.smallSpacing spacing: FishUI.Units.largeSpacing - onCountChanged: { - _fileTips.visible = count === 0 - } - delegate: FolderListItem {} } }