summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.com>2016-02-21 00:14:29 +0530
committerPranav Kant <pranavk@collabora.com>2016-02-21 22:14:28 +0530
commitdbd7ce16d621bf992a763317174c85a5d9f3b5ea (patch)
tree5b7840fd4e7bf02f8bd114ee8d0f89c2b31c04c5 /libreofficekit
parent60b1fb6edb9aba1ac42d80697d73a9ee693ff45c (diff)
tdf#97236: Refresh the view when part is changed
Change-Id: I189d33cd25f394f5740d54fb5fe5567ac71299e4
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 059401a2b102..e771b0504866 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -1793,6 +1793,8 @@ setPartInThread(gpointer data)
priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId);
priv->m_pDocument->pClass->setPart( priv->m_pDocument, nPart );
+
+ lok_doc_view_reset_view(pDocView);
}
static void