Commit 98668d6f authored by camilo higuita's avatar camilo higuita

make sort menuitems autoexclusive

parent ab529a8d
......@@ -498,15 +498,18 @@ Maui.Page
text: qsTr("Folders first")
checked: control.currentFMList.foldersFirst
checkable: true
onTriggered: control.currentFMList.foldersFirst = !control.currentFMList.foldersFirst
onTriggered: control.currentFMList.foldersFirst = !control.currentFMList.foldersFirst
}
MenuSeparator {}
MenuItem
{
text: qsTr("Type")
checked: control.currentFMList.sortBy === Maui.FMList.MIME
checkable: true
onTriggered: control.currentFMList.sortBy = Maui.FMList.MIME
autoExclusive: true
}
MenuItem
......@@ -515,6 +518,7 @@ Maui.Page
checked: control.currentFMList.sortBy === Maui.FMList.DATE
checkable: true
onTriggered: control.currentFMList.sortBy = Maui.FMList.DATE
autoExclusive: true
}
MenuItem
......@@ -523,6 +527,7 @@ Maui.Page
checkable: true
checked: control.currentFMList.sortBy === Maui.FMList.MODIFIED
onTriggered: control.currentFMList.sortBy = Maui.FMList.MODIFIED
autoExclusive: true
}
MenuItem
......@@ -531,6 +536,7 @@ Maui.Page
checkable: true
checked: control.currentFMList.sortBy === Maui.FMList.SIZE
onTriggered: control.currentFMList.sortBy = Maui.FMList.SIZE
autoExclusive: true
}
MenuItem
......@@ -539,8 +545,11 @@ Maui.Page
checkable: true
checked: control.currentFMList.sortBy === Maui.FMList.LABEL
onTriggered: control.currentFMList.sortBy = Maui.FMList.LABEL
autoExclusive: true
}
MenuSeparator{}
MenuItem
{
id: groupAction
......
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