Additional changes to af8befd

This commit is contained in:
spx
2013-03-11 04:59:05 +09:00
parent 5717c38577
commit aecef0b5f9
3 changed files with 26 additions and 7 deletions

View File

@ -2884,7 +2884,7 @@ void CRainmeter::ShowContextMenu(POINT pos, CMeterWindow* meterWindow)
MENU_ITEM(IDM_QUIT, ID_STR_EXIT)
};
if (!m_MenuActive)
if (!m_MenuActive && (!meterWindow || !meterWindow->IsClosing()))
{
m_MenuActive = true;