diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-02-17 15:30:42 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-02-18 11:00:01 -0500 |
commit | 4f5dedef46bb48b19f063536b3c55cd8e46a9d41 (patch) | |
tree | 81c2bdd1c02aad6a8087d92b6251a891242ebab7 /sc/source/ui/view/tabview2.cxx | |
parent | d4d6a678bf169eebee2fe4d71c8ec66de6898d6e (diff) |
Properly update column and row header selections. (fdo#34383)
When making range selection by mouse, Calc wouldn't highlight the
new range in the column and row headers. It was because we weren't
calling ScTabView::SelectionChanged() when the selection range
is updated. This SelectionChanged() call then puts in queue a
re-paint request for column and row headers.
Diffstat (limited to 'sc/source/ui/view/tabview2.cxx')
-rw-r--r-- | sc/source/ui/view/tabview2.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabview2.cxx b/sc/source/ui/view/tabview2.cxx index a42cb4667..b9cb8be4b 100644 --- a/sc/source/ui/view/tabview2.cxx +++ b/sc/source/ui/view/tabview2.cxx @@ -394,6 +394,7 @@ void ScTabView::MarkCursor( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ, } #endif UpdateSelectionOverlay(); + SelectionChanged(); nOldCurX = nCurX; nOldCurY = nCurY; |