Added ability to remove previous sections from stack in info widget.

This commit is contained in:
23rd
2022-05-03 07:02:51 +03:00
parent 549d7c77e5
commit 972666440e
7 changed files with 46 additions and 1 deletions
@@ -290,6 +290,10 @@ void Controller::showBackFromStack(const Window::SectionShow &params) {
}
}
void Controller::removeFromStack(const std::vector<Section> &sections) const {
_widget->removeFromStack(sections);
}
auto Controller::produceSearchQuery(
const QString &query) const -> SearchQuery {
Expects(_key.peer() != nullptr);