Object Catalog button now toggles display of the dialog

TODO: implement a toggle toolbar button that shows the toggle state
This commit is contained in:
Tomcsik Bence
2012-03-01 13:24:37 +01:00
committed by Andras Timar
parent efd4db1e6b
commit 4022a834b5

View File

@@ -432,7 +432,10 @@ void BasicIDEShell::ExecuteGlobal( SfxRequest& rReq )
break;
case SID_BASICIDE_OBJCAT:
{
ShowObjectDialog( sal_True, sal_True );
if ( pObjectCatalog )
ShowObjectDialog( sal_False, sal_True );
else
ShowObjectDialog( sal_True, sal_True );
}
break;
case SID_BASICIDE_NAMECHANGEDONTAB: