New confirmation dialog
This commit is contained in:
parent
56c9139dd2
commit
e84b6f8738
7 changed files with 121 additions and 33 deletions
|
|
@ -83,9 +83,12 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
function showConfirmation(title, icon, callback) {
|
||||
function showConfirmation(title, affirmative, negative, description, icon, callback) {
|
||||
loadPage('Confirmation.qml', {
|
||||
title: title,
|
||||
affirmativeAction: affirmative,
|
||||
negativeAction: negative,
|
||||
description: description,
|
||||
icon: icon,
|
||||
callback: callback,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue