diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-14 17:31:01 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-14 17:31:01 +1000 |
| commit | 281b04b6d99c060571788478dd3679f1c1dc5cd8 (patch) | |
| tree | 7bc7b07e80cb3fe946f7ff3cc9ca934c5c8f843c /modules/utilities/cards | |
| parent | utilities: add recording control (diff) | |
| download | caelestia-shell-281b04b6d99c060571788478dd3679f1c1dc5cd8.tar.gz caelestia-shell-281b04b6d99c060571788478dd3679f1c1dc5cd8.tar.bz2 caelestia-shell-281b04b6d99c060571788478dd3679f1c1dc5cd8.zip | |
utilities: add recording delete confirmation
Diffstat (limited to 'modules/utilities/cards')
| -rw-r--r-- | modules/utilities/cards/Record.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/utilities/cards/Record.qml b/modules/utilities/cards/Record.qml index c993785..9707176 100644 --- a/modules/utilities/cards/Record.qml +++ b/modules/utilities/cards/Record.qml @@ -193,9 +193,10 @@ StyledRect { icon: "delete_forever" type: IconButton.Text label.color: Colours.palette.m3error + stateLayer.color: Colours.palette.m3error function onClicked(): void { - CUtils.deleteFile(Qt.resolvedUrl(recording.modelData.path)); + root.props.recordingConfirmDelete = recording.modelData.path; } } } |