mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Removed chats filters strip from forum layout.
This commit is contained in:
parent
49223a4688
commit
cf270bd9ce
2 changed files with 4 additions and 1 deletions
|
@ -1301,6 +1301,9 @@ void Widget::updateHasFocus(not_null<QWidget*> focused) {
|
|||
}
|
||||
|
||||
void Widget::toggleFiltersMenu(bool enabled) {
|
||||
if (_layout == Layout::Child) {
|
||||
enabled = false;
|
||||
}
|
||||
if (!enabled == !_chatFilters) {
|
||||
return;
|
||||
} else if (enabled) {
|
||||
|
|
|
@ -296,7 +296,7 @@ private:
|
|||
bool _dragForward = false;
|
||||
base::Timer _chooseByDragTimer;
|
||||
|
||||
Layout _layout = Layout::Main;
|
||||
const Layout _layout = Layout::Main;
|
||||
int _narrowWidth = 0;
|
||||
object_ptr<Ui::RpWidget> _searchControls;
|
||||
object_ptr<HistoryView::TopBarWidget> _subsectionTopBar = { nullptr };
|
||||
|
|
Loading…
Add table
Reference in a new issue