summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTrent MacAlpine <tmacalp@gmail.com>2014-03-05 22:40:15 -0500
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-04-01 01:18:09 +0000
commitf1ba280a5dd646654bd86fd3db26a2347484e8cc (patch)
treed71a442b2e5c12cb190bced310508f390fd7f85b /sc
parent2aaf9a5c9a06b770598c84b427c5099bf127d856 (diff)
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@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/gridwin.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 710f13102af3..2c279610f8e5 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