mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 12:46:35 +01:00
[ToolButton] Don't try to show menu when it is already visible
This commit is contained in:
parent
6797433e39
commit
1fd3d84320
@ -139,7 +139,7 @@ void ToolButton::menuAboutToHide()
|
||||
|
||||
void ToolButton::showMenu()
|
||||
{
|
||||
if (!m_menu)
|
||||
if (!m_menu || m_menu->isVisible())
|
||||
return;
|
||||
|
||||
emit aboutToShowMenu();
|
||||
|
Loading…
Reference in New Issue
Block a user