Bot close confirm closes only by Close button.
This commit is contained in:
parent
f1d8135e30
commit
24e9a3ea59
|
@ -1073,7 +1073,7 @@ void Panel::closeWithConfirmation() {
|
||||||
});
|
});
|
||||||
if (!weak) {
|
if (!weak) {
|
||||||
return;
|
return;
|
||||||
} else if (result.id != "cancel") {
|
} else if (result.id == "close") {
|
||||||
_delegate->botClose();
|
_delegate->botClose();
|
||||||
} else {
|
} else {
|
||||||
_closeWithConfirmationScheduled = false;
|
_closeWithConfirmationScheduled = false;
|
||||||
|
|
Loading…
Reference in New Issue