mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Fix review issues
This commit is contained in:
parent
adc7fb8655
commit
b91c70a8ea
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue