summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-04-16 11:08:46 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-04-16 11:11:50 -0400
commit52cc88d6191ba0c4b6477e5c4b9c5d0f0228030d (patch)
tree4d64def3e0166433fa95ce453e315ab5652f1de8
parent6a8c627906ea86b32d1248673091271c61342ee0 (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
-rw-r--r--sc/source/ui/view/tabview3.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index 8b7e0a1c5044..5312c0d58884 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -2111,9 +2111,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;