Quick GUI: Add control to deletion dialog so it is shown correctly
This commit is contained in:
parent
fb83048517
commit
9ba9b41240
|
@ -65,6 +65,12 @@ Kirigami.ScrollablePage {
|
||||||
title: qsTr("Delete %1?").arg(entryDesc)
|
title: qsTr("Delete %1?").arg(entryDesc)
|
||||||
onAccepted: entryModel.removeRows(this.entryIndex, 1, rootIndex)
|
onAccepted: entryModel.removeRows(this.entryIndex, 1, rootIndex)
|
||||||
|
|
||||||
|
ColumnLayout {
|
||||||
|
Controls.Label {
|
||||||
|
text: " "
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function confirmDeletion(entryName, entryIndex) {
|
function confirmDeletion(entryName, entryIndex) {
|
||||||
var isNode = entryModel.isNode(entryModel.index(entryIndex, 0,
|
var isNode = entryModel.isNode(entryModel.index(entryIndex, 0,
|
||||||
rootIndex))
|
rootIndex))
|
||||||
|
|
Loading…
Reference in New Issue