Verified Commit 30da5e87 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳
Browse files

FileChooserMobile: Make it impossible to go to parent folder of /

parent 204584ec
......@@ -53,7 +53,7 @@ Item {
tooltip: qsTr("go to parent folder")
iconName: "go-parent-folder"
onTriggered: fileModel.folder = fileModel.parentFolder
enabled: true
enabled: fileModel.parentFolder != "file:///"
right: Kirigami.Action {
tooltip: qsTr("Close")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment