mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
parent
c452694348
commit
d3fdfe4b29
1 changed files with 1 additions and 2 deletions
|
@ -331,9 +331,8 @@ void EditorBlock::activateRow(const Row &row) {
|
|||
const auto state = editor->lifetime().make_state<State>();
|
||||
|
||||
const auto save = crl::guard(this, [=] {
|
||||
saveEditing(editor->color());
|
||||
state->cancelLifetime.destroy();
|
||||
box->closeBox();
|
||||
saveEditing(editor->color());
|
||||
});
|
||||
box->boxClosing(
|
||||
) | rpl::start_with_next(crl::guard(this, [=] {
|
||||
|
|
Loading…
Add table
Reference in a new issue