mirror of https://github.com/procxx/kepka.git
parent
20b67ee000
commit
e47d110f28
|
@ -270,6 +270,10 @@ void PopupMenu::childHiding(PopupMenu *child) {
|
||||||
if (_activeSubmenu && _activeSubmenu == child) {
|
if (_activeSubmenu && _activeSubmenu == child) {
|
||||||
_activeSubmenu = SubmenuPointer();
|
_activeSubmenu = SubmenuPointer();
|
||||||
}
|
}
|
||||||
|
if (!_hiding && !isHidden()) {
|
||||||
|
windowHandle()->requestActivate();
|
||||||
|
activateWindow();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void PopupMenu::setOrigin(PanelAnimation::Origin origin) {
|
void PopupMenu::setOrigin(PanelAnimation::Origin origin) {
|
||||||
|
|
Loading…
Reference in New Issue