[Libreoffice-commits] core.git: desktop/source

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 31 19:26:09 UTC 2019


 desktop/source/lib/init.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 415c87e617ae9bd1dc89a80023bce8746be69af9
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Oct 31 15:36:28 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Oct 31 20:25:23 2019 +0100

    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 at collabora.com>

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();
     }
 }
 


More information about the Libreoffice-commits mailing list