Angus Leeming <[EMAIL PROTECTED]> writes: >> remove extra menu expansion which causes multiple warnings about shortcuts >> >> - >> - Menu menu; >> - menubackend_.expand(menubackend_.getMenubar(), menu, >> owner_->buffer()); > > Why not add an "isExpanded" member to menubackend_, set to true by > .expand ?
This is not the problem here: due to a random cut-and-paste action, a new variable is allocated at each iteration and populated with a copy of the expanded menubar. Then the variable is never used for anything! JMarc