diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-16 11:08:46 -0400 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-16 15:47:34 +0000 |
commit | 44c9235ba8ab513451fcc6cd5dbdf82c577481f1 (patch) | |
tree | ec6ea976436960615ff329d382e6851bc34e74a3 | |
parent | 5dfb92d506e1aed643dcc84a219882edeac1a9a7 (diff) |
fdo#75026: Sometimes we need to update grid view while not being active.
For example when "jumping to mark" in the non-active window triggered by
hyperlink in the active one. The jump-to-mark command gets dispatched before
the new window is officially activated.
Change-Id: I4e9c126b061ee3af4440e36d1ba6d796eb1c3539
(cherry picked from commit 52cc88d6191ba0c4b6477e5c4b9c5d0f0228030d)
Reviewed-on: https://gerrit.libreoffice.org/9068
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/source/ui/view/tabview3.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx index 92aaadcee158..2a79b15694f4 100644 --- a/sc/source/ui/view/tabview3.cxx +++ b/sc/source/ui/view/tabview3.cxx @@ -2112,9 +2112,6 @@ void ScTabView::PaintRangeFinderEntry (ScRangeFindData* pData, const SCTAB nTab) void ScTabView::UpdateGrid() { - if (!aViewData.IsActive()) - return; - if (!UpdateVisibleRange()) // Visible range hasn't changed. No need to re-paint. return; |