New confirmation dialog
This commit is contained in:
parent
56c9139dd2
commit
e84b6f8738
7 changed files with 121 additions and 33 deletions
|
|
@ -77,7 +77,7 @@ Item {
|
|||
enabled: downloadState != Constants.state.deleted
|
||||
onClicked: {
|
||||
var ctx = { py: py, id: id };
|
||||
pgst.showConfirmation('Delete episode', Icons.trash, function () {
|
||||
pgst.showConfirmation('Delete episode', 'Delete', 'Cancel', 'Delete this episode?', Icons.trash, function () {
|
||||
ctx.py.call('main.delete_episode', [ctx.id]);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue