Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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@suse.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.