summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2019-10-31 15:36:28 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2019-10-31 20:25:23 +0100
commit415c87e617ae9bd1dc89a80023bce8746be69af9 (patch)
tree75aa56f0784d0c4df58a2ba02b9f934f6a4443a6 /desktop
parentfee408dd695b9ddca8333688879d1ba52faff8fb (diff)
jsdialogs: refresh SidebarDockingWindow after event
Before we had JSON genertion in Deck now it was moved to the parent. Change-Id: I0fc11ec716542fd3aa6862292ae94985ee3d20d4 Reviewed-on: https://gerrit.libreoffice.org/81854 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'desktop')
-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 3884dbc98882..b00638eaa127 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3349,8 +3349,8 @@ static void doc_sendDialogEvent(LibreOfficeKitDocument* /*pThis*/, unsigned nWin
} catch(...) {}
// force resend
- pWindow->Hide();
- pWindow->Show();
+ pWindow->GetParent()->Hide();
+ pWindow->GetParent()->Show();
}
}