mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Separate form controller from view controller.
This commit is contained in:
@@ -274,7 +274,9 @@ void StickersBox::prepare() {
|
||||
if (_installed.widget()) {
|
||||
connect(_installed.widget(), SIGNAL(draggingScrollDelta(int)), this, SLOT(onDraggingScrollDelta(int)));
|
||||
if (!_megagroupSet) {
|
||||
subscribe(boxClosing, [this] { saveChanges(); });
|
||||
boxClosing() | rpl::start_with_next([=] {
|
||||
saveChanges();
|
||||
}, lifetime());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user