[Libreoffice-commits] core.git: sc/source

Trent MacAlpine tmacalp at gmail.com
Mon Mar 31 18:18:36 PDT 2014


 sc/source/ui/view/gridwin.cxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit f1ba280a5dd646654bd86fd3db26a2347484e8cc
Author: Trent MacAlpine <tmacalp at gmail.com>
Date:   Wed Mar 5 22:40:15 2014 -0500

    fdo#42164 Esc doesn't clear copy source overlay in panes of split/frozen view
    
    Change-Id: I480fe9a66773bbc6775c6d20c9cf0e2f7e21c230
    Reviewed-on: https://gerrit.libreoffice.org/8472
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 710f131..2c27961 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -3264,7 +3264,8 @@ void ScGridWindow::KeyInput(const KeyEvent& rKEvt)
 
         // hide the border around the copy source
         pViewData->SetPasteMode( SC_PASTE_NONE );
-        UpdateCopySourceOverlay();
+        // Clear CopySourceOverlay in each window of a split/frozen tabview
+        pViewData->GetView()->UpdateCopySourceOverlay();
         return;
     }
     // wenn semi-Modeless-SfxChildWindow-Dialog oben, keine KeyInputs:
@@ -3273,7 +3274,8 @@ void ScGridWindow::KeyInput(const KeyEvent& rKEvt)
         if (rKeyCode.GetCode() == KEY_ESCAPE)
         {
             pViewData->SetPasteMode( SC_PASTE_NONE );
-            UpdateCopySourceOverlay();
+            // Clear CopySourceOverlay in each window of a split/frozen tabview
+            pViewData->GetView()->UpdateCopySourceOverlay();
         }
         //  query for existing note marker before calling ViewShell's keyboard handling
         //  which may remove the marker


More information about the Libreoffice-commits mailing list