Work around a bug in some themes preventing uninstall confirmation.
This commit is contained in:
+2
-1
@@ -163,7 +163,8 @@ Page {
|
|||||||
y: (parent.height - height) / 2
|
y: (parent.height - height) / 2
|
||||||
title: qsTr("Following files will be deleted:")
|
title: qsTr("Following files will be deleted:")
|
||||||
standardButtons: Dialog.Ok | Dialog.Cancel
|
standardButtons: Dialog.Ok | Dialog.Cancel
|
||||||
onClosed: addon.confirmFileRemove(result == Dialog.Accepted)
|
onAccepted: addon.confirmFileRemove(true)
|
||||||
|
onRejected: addon.confirmFileRemove(false)
|
||||||
modal: true
|
modal: true
|
||||||
visible: addon.filesToRemove != ""
|
visible: addon.filesToRemove != ""
|
||||||
closePolicy: Popup.NoAutoClose
|
closePolicy: Popup.NoAutoClose
|
||||||
|
|||||||
Reference in New Issue
Block a user