summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-13 12:58:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-13 18:04:46 +0200
commit74edbc474975266a1cee36d47cb0443808f9c19a (patch)
tree9439d40f0ec38e625f76547403891d3581c494f5 /vcl
parent5eb9dd46e9b3ba18afd4f6dac580c4b91e715f43 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx5
1 files changed, 3 insertions, 2 deletions
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