mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Distributed tabbed-panel-show-on-click option to sections as well.
This commit is contained in:
parent
a8c3d6c39b
commit
74416568d6
1 changed files with 5 additions and 1 deletions
|
@ -1561,7 +1561,11 @@ void ComposeControls::initTabbedSelector() {
|
|||
}
|
||||
|
||||
_tabbedSelectorToggle->addClickHandler([=] {
|
||||
toggleTabbedSelectorMode();
|
||||
if (_tabbedPanel && _tabbedPanel->isHidden()) {
|
||||
_tabbedPanel->showAnimated();
|
||||
} else {
|
||||
toggleTabbedSelectorMode();
|
||||
}
|
||||
});
|
||||
|
||||
const auto selector = _window->tabbedSelector();
|
||||
|
|
Loading…
Add table
Reference in a new issue