summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorTomcsik Bence <tomcsikbence@gmail.com>2012-03-01 13:24:37 +0100
committerAndras Timar <atimar@suse.com>2012-03-01 13:35:10 +0100
commit4022a834b55c8db787916f1a6301f1402b149e4c (patch)
tree69a2bdef5d92d29452354891137e78fa0b6bb950 /basctl
parentefd4db1e6b20715bfda8efadc798bf9ce192fee0 (diff)
Object Catalog button now toggles display of the dialog
TODO: implement a toggle toolbar button that shows the toggle state
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basides1.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 63cc273de0cb..8ca700ba37bb 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -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: