Author: kirilla Date: 2011-02-24 09:08:11 +0100 (Thu, 24 Feb 2011) New Revision: 40656 Changeset: http://dev.haiku-os.org/changeset/40656 Modified: haiku/trunk/src/apps/deskbar/TeamMenuItem.cpp Log: CID 4147, NO_EFFECT Modified: haiku/trunk/src/apps/deskbar/TeamMenuItem.cpp =================================================================== --- haiku/trunk/src/apps/deskbar/TeamMenuItem.cpp 2011-02-24 07:53:35 UTC (rev 40655) +++ haiku/trunk/src/apps/deskbar/TeamMenuItem.cpp 2011-02-24 08:08:11 UTC (rev 40656) @@ -521,8 +521,7 @@ if (resizeWindow) parent->SizeWindow(); - } else - fExpanded = fExpanded; + } } } else { // Remove the goodies from the Menu() that should be in the SubMenu(); @@ -544,8 +543,7 @@ if (resizeWindow) parent->SizeWindow(); - } else - fExpanded = fExpanded; + } } }