From 44c9235ba8ab513451fcc6cd5dbdf82c577481f1 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 16 Apr 2014 11:08:46 -0400 Subject: fdo#75026: Sometimes we need to update grid view while not being active. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Caolán McNamara --- sc/source/ui/view/tabview3.cxx | 3 --- 1 file changed, 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; -- cgit v1.2.3