fdo#37758: Really set the toolbar as hidden.

Change-Id: If0cdf2fabb680f8dee811411f601b2954d29da58
This commit is contained in:
Jan Holesovsky 2013-04-04 21:23:50 +02:00
parent 622509e47d
commit 4214ff23ad

View File

@ -676,7 +676,16 @@ void ToolbarLayoutManager::setVisible( bool bVisible )
{
bool bSetVisible( pIter->m_bVisible & bVisible );
if ( !bSetVisible )
{
pWindow->Hide();
UIElement aUIElement( *pIter );
if ( !aUIElement.m_bFloating )
implts_setLayoutDirty();
aUIElement.m_bVisible = false;
implts_setToolbar( aUIElement );
}
else
{
if ( pIter->m_bFloating )