From 0db89a3e6de26dc43cf6a1abc0cbe00df73e21a3 Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Thu, 23 Jan 2025 14:09:58 +0700 Subject: [PATCH] Fix 3-dot menu for item missing for local data files on desktop --- src/qml/QFieldLocalDataPickerScreen.qml | 2 +- src/qml/qgismobileapp.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/QFieldLocalDataPickerScreen.qml b/src/qml/QFieldLocalDataPickerScreen.qml index 5872f11e01..63e65883fc 100644 --- a/src/qml/QFieldLocalDataPickerScreen.qml +++ b/src/qml/QFieldLocalDataPickerScreen.qml @@ -145,7 +145,7 @@ Page { property string itemPath: ItemPath property bool itemIsFavorite: ItemIsFavorite property bool itemMenuLoadable: !projectFolderView && (ItemMetaType === LocalFilesModel.Project || ItemMetaType === LocalFilesModel.Dataset) - property bool itemMenuVisible: ((ItemType === LocalFilesModel.SimpleFolder || ItemMetaType == LocalFilesModel.File) && table.model.currentPath !== 'root') || ((platformUtilities.capabilities & PlatformUtilities.CustomExport || platformUtilities.capabilities & PlatformUtilities.CustomSend) && (ItemMetaType === LocalFilesModel.Dataset)) || (ItemMetaType === LocalFilesModel.Dataset && ItemType === LocalFilesModel.RasterDataset && cloudProjectsModel.currentProjectId) + property bool itemMenuVisible: ((ItemType === LocalFilesModel.SimpleFolder || ItemMetaType == LocalFilesModel.Dataset || ItemMetaType == LocalFilesModel.File) && table.model.currentPath !== 'root') || ((platformUtilities.capabilities & PlatformUtilities.CustomExport || platformUtilities.capabilities & PlatformUtilities.CustomSend) && (ItemMetaType === LocalFilesModel.Dataset)) || (ItemMetaType === LocalFilesModel.Dataset && ItemType === LocalFilesModel.RasterDataset && cloudProjectsModel.currentProjectId) width: parent ? parent.width : undefined height: line.height diff --git a/src/qml/qgismobileapp.qml b/src/qml/qgismobileapp.qml index 1f93cbadf1..6f2a450a8d 100644 --- a/src/qml/qgismobileapp.qml +++ b/src/qml/qgismobileapp.qml @@ -4171,7 +4171,7 @@ ApplicationWindow { standardButtons: Dialog.Yes | Dialog.No } - Dialog { + QfDialog { id: cancelAlgorithmDialog parent: mainWindow.contentItem