Quick GUI: Add control to deletion dialog so it is shown correctly

This commit is contained in:
Marius Kittler 2018-11-22 22:00:31 +01:00
parent fb83048517
commit 9ba9b41240
1 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,12 @@ Kirigami.ScrollablePage {
title: qsTr("Delete %1?").arg(entryDesc)
onAccepted: entryModel.removeRows(this.entryIndex, 1, rootIndex)
ColumnLayout {
Controls.Label {
text: " "
}
}
function confirmDeletion(entryName, entryIndex) {
var isNode = entryModel.isNode(entryModel.index(entryIndex, 0,
rootIndex))