diff options
author | Tomcsik Bence <tomcsikbence@gmail.com> | 2012-03-01 13:24:37 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-03-01 13:35:10 +0100 |
commit | 4022a834b55c8db787916f1a6301f1402b149e4c (patch) | |
tree | 69a2bdef5d92d29452354891137e78fa0b6bb950 /basctl | |
parent | make button label and dialog title consistent (Object Catalog) (diff) | |
download | core-4022a834b55c8db787916f1a6301f1402b149e4c.tar.gz core-4022a834b55c8db787916f1a6301f1402b149e4c.zip |
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.cxx | 5 |
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: |