CID 4147, NO_EFFECT

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40656 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström 2011-02-24 08:08:11 +00:00
parent f9d7564f1d
commit c0107fb2bf

View File

@ -521,8 +521,7 @@ TTeamMenuItem::ToggleExpandState(bool resizeWindow)
if (resizeWindow) if (resizeWindow)
parent->SizeWindow(); parent->SizeWindow();
} else }
fExpanded = fExpanded;
} }
} else { } else {
// Remove the goodies from the Menu() that should be in the SubMenu(); // Remove the goodies from the Menu() that should be in the SubMenu();
@ -544,8 +543,7 @@ TTeamMenuItem::ToggleExpandState(bool resizeWindow)
if (resizeWindow) if (resizeWindow)
parent->SizeWindow(); parent->SizeWindow();
} else }
fExpanded = fExpanded;
} }
} }