Fix review issues

This commit is contained in:
FallenValkyrie 2023-12-07 15:48:24 +01:00
parent adc7fb8655
commit b91c70a8ea
No known key found for this signature in database
GPG key ID: 9D1AE3C23A00B8BC

View file

@ -11,14 +11,13 @@ P.MessageDialog {
property SingleImagePackModel imagePack property SingleImagePackModel imagePack
text: "This will delete the sticker pack: " + imagePack.packname text: "Are you sure you wish to delete the sticker pack \"" + imagePack.packname + "\"?"
informativeText: "Are you sure you wish to delete the Sticker pack?"
modality: Qt.ApplicationModal modality: Qt.ApplicationModal
flags: Qt.Tool | Qt.WindowStaysOnTopHint | Qt.WindowCloseButtonHint | Qt.WindowTitleHint flags: Qt.Tool | Qt.WindowStaysOnTopHint | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
buttons: P.MessageDialog.Yes | P.MessageDialog.No buttons: P.MessageDialog.Yes | P.MessageDialog.No
onAccepted: { onAccepted: {
console.info("DELETE PACK: " + imagePack.packname); console.info("deleting image pack " + imagePack.packname);
imagePack.remove() imagePack.remove()
timelineRoot.destroyOnClose(dialog); timelineRoot.destroyOnClose(dialog);
} }