[Libreoffice-commits] core.git: vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 13 16:05:16 UTC 2018


 vcl/unx/gtk3/gtk3gtkinst.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 74edbc474975266a1cee36d47cb0443808f9c19a
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 13 12:58:10 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Sep 13 18:04:46 2018 +0200

    must call enterpage handler if we do enter a page
    
    Change-Id: I2eb6949a22de038d8e501bc8ade57e6ebc053d34
    Reviewed-on: https://gerrit.libreoffice.org/60433
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index e0cee55f78a4..871785d4812e 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -2638,9 +2638,10 @@ private:
         if (!bAllow)
         {
             g_signal_stop_emission_by_name(m_pNotebook, "switch-page");
-            OString sNewIdent(get_page_ident(nNewPage));
-            m_aEnterPageHdl.Call(sNewIdent);
+            return;
         }
+        OString sNewIdent(get_page_ident(nNewPage));
+        m_aEnterPageHdl.Call(sNewIdent);
     }
 
     OString get_page_ident(guint nPage) const


More information about the Libreoffice-commits mailing list