Save data from EditPeerInfoBox.

This commit is contained in:
John Preston
2017-11-10 21:15:37 +04:00
parent 8ff0120642
commit dd3ae22e08
5 changed files with 282 additions and 3 deletions
@@ -84,6 +84,12 @@ void BoxContent::finishScrollCreate() {
connect(_scroll, SIGNAL(innerResized()), this, SLOT(onInnerResize()));
}
void BoxContent::scrollToWidget(not_null<QWidget*> widget) {
if (_scroll) {
_scroll->scrollToWidget(widget);
}
}
void BoxContent::onScrollToY(int top, int bottom) {
if (_scroll) {
_scroll->scrollToY(top, bottom);