[Fix] MSVC internal compiler error workaround
This commit is contained in:
parent
720cf8c130
commit
0b651c384e
1 changed files with 3 additions and 2 deletions
|
|
@ -2619,7 +2619,7 @@ void StickersListWidget::removeMegagroupSet(bool locally) {
|
||||||
refreshStickers();
|
refreshStickers();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
checkHideWithBox(controller()->show(Ui::MakeConfirmBox({
|
auto box = Ui::MakeConfirmBox({
|
||||||
.text = tr::lng_stickers_remove_group_set(),
|
.text = tr::lng_stickers_remove_group_set(),
|
||||||
.confirmed = crl::guard(this, [this, group = _megagroupSet](
|
.confirmed = crl::guard(this, [this, group = _megagroupSet](
|
||||||
Fn<void()> &&close) {
|
Fn<void()> &&close) {
|
||||||
|
|
@ -2633,7 +2633,8 @@ void StickersListWidget::removeMegagroupSet(bool locally) {
|
||||||
.cancelled = [](Fn<void()> &&close) {
|
.cancelled = [](Fn<void()> &&close) {
|
||||||
close();
|
close();
|
||||||
},
|
},
|
||||||
})));
|
});
|
||||||
|
checkHideWithBox(controller()->show(std::move(box)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void StickersListWidget::removeSet(uint64 setId) {
|
void StickersListWidget::removeSet(uint64 setId) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue