Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 1634beee authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't allow to start a burst when recording and vice-versa

parent 819f3dc0
......@@ -93,6 +93,7 @@ Kirigami.ApplicationWindow
property int photosTaken: 0
modeInfo: (photosTaken>0 ? i18np("1 photo", "%1 photos", photosTaken) : "") + (checked? "..." : "")
nameFilter: "picture_*"
visible: !videoMode.checked
onCheckedChanged: if (checked) {
photosTaken = 0
}
......@@ -116,6 +117,7 @@ Kirigami.ApplicationWindow
text: i18n("Record a Video")
modeInfo: webcam.recordingTime
nameFilter: "video_*"
visible: !burstMode.checked
onCheckedChanged: {
webcam.isRecording = checked;
......
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