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
1 changed files with 2 additions and 1 deletions

View File

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