From ad76fe026220d77e56bb457d326661d1eab5bc51 Mon Sep 17 00:00:00 2001 From: reionwong Date: Tue, 1 Sep 2026 08:45:25 -0400 Subject: [PATCH] fix(filemanager): avoid transient empty folder state --- qml/FolderPage.qml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 {} } }