Commit e75e1527 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Set a stop button for checkable actions

BUG: 402953
parent 9b0c6736
......@@ -88,7 +88,7 @@ Kirigami.ApplicationWindow
id: burstMode
mimes: "image/jpeg"
checkable: true
iconName: "burst"
iconName: checked ? "media-playback-stop" : "burst"
text: i18n("Capture a Burst")
property int photosTaken: 0
modeInfo: (photosTaken>0 ? i18np("1 photo", "%1 photos", photosTaken) : "") + (checked? "..." : "")
......@@ -113,7 +113,7 @@ Kirigami.ApplicationWindow
id: videoMode
mimes: "video/x-matroska"
checkable: true
iconName: "record"
iconName: checked ? "media-playback-stop" : "record"
text: i18n("Record a Video")
modeInfo: webcam.recordingTime
nameFilter: "video_*"
......
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