mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-11 06:03:40 +00:00
Added ability to close emoji status panel with main menu.
This commit is contained in:
@@ -846,6 +846,10 @@ bool MainMenu::eventHook(QEvent *event) {
|
||||
return RpWidget::eventHook(event);
|
||||
}
|
||||
|
||||
void MainMenu::hideEvent(QHideEvent *e) {
|
||||
_emojiStatusPanel->hideFast();
|
||||
}
|
||||
|
||||
void MainMenu::paintEvent(QPaintEvent *e) {
|
||||
auto p = Painter(this);
|
||||
const auto clip = e->rect();
|
||||
|
||||
Reference in New Issue
Block a user