Commit 7e0b2708 authored by Urs Fleisch's avatar Urs Fleisch
Browse files

QML: Single button to select all/deselect.

parent 22ebba5e
......@@ -25,14 +25,17 @@ Item {
"filePath"))
}
Button {
property bool selectAll: true
iconName: "select"
width: height
onClicked: app.selectAllFiles()
onClicked: {
if (selectAll) {
app.selectAllFiles()
} else {
app.deselectAllFiles()
}
selectAll = !selectAll
}
Button {
iconName: "clear"
width: height
onClicked: app.deselectAllFiles()
}
Button {
iconName: "go-previous"
......
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