diff options
author | Andreas Bregas <ab@openoffice.org> | 2011-02-17 10:48:27 +0100 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2011-02-17 10:48:27 +0100 |
commit | 32ccfb598a780e883d3e0a3ca267d536b965651c (patch) | |
tree | a84048376411c0977a7a2acfc247898058b351b4 /basctl | |
parent | af053999bb2d7c9ac21bad006c8a83992dca4802 (diff) |
ab81: #i115671# Fixed Save button handling in Basic IDE
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basidesh.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 02dbb525b972..1cd16b731524 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -309,7 +309,10 @@ void BasicIDEShell::onDocumentSave( const ScriptDocument& /*_rDocument*/ ) void BasicIDEShell::onDocumentSaveDone( const ScriptDocument& /*_rDocument*/ ) { - // not interested in + // #i115671: Update SID_SAVEDOC after saving is completed + SfxBindings* pBindings = BasicIDE::GetBindingsPtr(); + if ( pBindings ) + pBindings->Invalidate( SID_SAVEDOC ); } void BasicIDEShell::onDocumentSaveAs( const ScriptDocument& /*_rDocument*/ ) |