Version 1.0.29: Fix cancel GIFs search button.

This commit is contained in:
John Preston 2017-04-05 13:14:17 +03:00
parent a1adf2dae6
commit 252a6f9d5a

View File

@ -88,6 +88,9 @@ GifsListWidget::Footer::Footer(gsl::not_null<GifsListWidget*> parent) : InnerFoo
_pan->searchForGifs(_field->getLastText());
});
_cancel->moveToRight(st::gifsSearchCancelPosition.x(), st::gifsSearchCancelPosition.y());
_cancel->setClickedCallback([this] {
_field->setText(QString());
});
}
void GifsListWidget::Footer::stealFocus() {