mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 state = editor->lifetime().make_state<State>();
|
||||||
|
|
||||||
const auto save = crl::guard(this, [=] {
|
const auto save = crl::guard(this, [=] {
|
||||||
saveEditing(editor->color());
|
|
||||||
state->cancelLifetime.destroy();
|
state->cancelLifetime.destroy();
|
||||||
box->closeBox();
|
saveEditing(editor->color());
|
||||||
});
|
});
|
||||||
box->boxClosing(
|
box->boxClosing(
|
||||||
) | rpl::start_with_next(crl::guard(this, [=] {
|
) | rpl::start_with_next(crl::guard(this, [=] {
|
||||||
|
|
Loading…
Add table
Reference in a new issue