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