[PATCH libreoffice-4-0] make sure basic IDE cut/copy buttons on toolbar are refreshe...
Noel Power (via Code Review)
gerrit at gerrit.libreoffice.org
Wed Mar 13 10:26:35 PDT 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/2708
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/08/2708/1
make sure basic IDE cut/copy buttons on toolbar are refreshed fdo#30545
Change-Id: I483469f0b76ade7fb107c6f4ae5c28a4b03877b1
(cherry picked from commit 56f30adffa34e2f645646048747e3110a275b072)
---
M basctl/source/basicide/baside2b.cxx
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index ffa93e4..9bac160 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -745,6 +745,14 @@
{
DoDelayedSyntaxHighlight( rTextHint.GetValue() );
}
+ else if( rTextHint.GetId() == TEXT_HINT_VIEWSELECTIONCHANGED )
+ {
+ if (SfxBindings* pBindings = GetBindingsPtr())
+ {
+ pBindings->Invalidate( SID_CUT );
+ pBindings->Invalidate( SID_COPY );
+ }
+ }
}
}
--
To view, visit https://gerrit.libreoffice.org/2708
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I483469f0b76ade7fb107c6f4ae5c28a4b03877b1
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Noel Power <noel.power at suse.com>
More information about the LibreOffice
mailing list