Flicker fix

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13227 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2005-06-23 08:14:33 +00:00
parent 2e86adec11
commit de5a23520e

View File

@ -441,7 +441,8 @@ BMenuBar::Track(int32 *action, int32 startIndex, bool showMenu)
} while (true);
if (window->Lock()) {
SelectItem(NULL);
if (fSelected != NULL)
SelectItem(NULL);
if (resultItem != NULL)
resultItem->Invoke();
window->Unlock();