1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

[ToolButton] Don't try to show menu when it is already visible

This commit is contained in:
David Rosca 2014-04-19 18:50:44 +02:00
parent 6797433e39
commit 1fd3d84320

View File

@ -139,7 +139,7 @@ void ToolButton::menuAboutToHide()
void ToolButton::showMenu()
{
if (!m_menu)
if (!m_menu || m_menu->isVisible())
return;
emit aboutToShowMenu();