mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Bot close confirm closes only by Close button.
This commit is contained in:
parent
f1d8135e30
commit
24e9a3ea59
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue