From 134b45aedc420e18352cce82ebe2b0db68d3c42e Mon Sep 17 00:00:00 2001 From: Gleb Kasachou Date: Tue, 29 Jul 2025 11:45:35 +0300 Subject: Disable "Create folder" action if the location is not writable Instead of hiding the action when the user lacks permission to create the folder, it is now shown in a disabled state. The tooltip is also updated to reflect the disabled state. --- src/dolphinviewcontainer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dolphinviewcontainer.h') diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index 4acccdd81..d2d322b08 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -464,7 +464,7 @@ private: * Check if a folder can be created at url. * This method supports only local URLs. */ - bool isFolderCreatable(QUrl url); + bool isTopMostParentFolderWritable(QUrl url); protected: bool eventFilter(QObject *object, QEvent *event) override; -- cgit v1.3