2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Don't close calls log box after delete confirmation.

This commit is contained in:
John Preston
2021-01-26 12:41:52 +04:00
parent fa8dd61b02
commit 52000566cf
2 changed files with 8 additions and 3 deletions

View File

@@ -355,7 +355,9 @@ base::unique_qptr<Ui::PopupMenu> BoxController::rowContextMenu(
auto result = base::make_unique_q<Ui::PopupMenu>(parent);
result->addAction(tr::lng_context_delete_selected(tr::now), [=] {
Ui::show(Box<DeleteMessagesBox>(session, base::duplicate(ids)));
Ui::show(
Box<DeleteMessagesBox>(session, base::duplicate(ids)),
Ui::LayerOption::KeepOther);
});
return result;
}