Kaydet (Commit) 52cc88d6 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

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
üst 6a8c6279
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment