summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2019-11-06 19:13:12 +0100
committerMichael Meeks <michael.meeks@collabora.com>2019-12-16 17:29:59 +0000
commitfb9becb113d718cb4f1313d0ef2ca6bd0560fab9 (patch)
treee7d3d41cd891cbd679a3f585ee0312d6fd4d9220 /desktop/source
parente5a75a718dd5ed3b1170797d82e1e6a36fceb8b3 (diff)
jsdialogs: refresh after event
Change-Id: Ie0128ec38dd442a04d6ea9e24cea254f5bc69791 Reviewed-on: https://gerrit.libreoffice.org/82170 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/lib/init.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 8fe8d2c7cf10..36a37165154c 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3359,8 +3359,8 @@ static void doc_sendDialogEvent(LibreOfficeKitDocument* /*pThis*/, unsigned nWin
} catch(...) {}
// force resend
- pWindow->GetParent()->Hide();
- pWindow->GetParent()->Show();
+ pWindow->Hide();
+ pWindow->Show();
}
}