[Libreoffice-commits] core.git: vcl/unx
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Sun Mar 8 14:15:44 UTC 2020
vcl/unx/gtk3/gtk3gtkinst.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 3ddfba19c964a65a5bfa1c172e83532af305c985
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun Mar 8 00:25:16 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Mar 8 15:15:11 2020 +0100
tdf#131210: avoid infinite loop in 'Date acceptance patterns'
Change-Id: Ib049b5d44f91e2b36c068e1ef351ae81707d885e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90180
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 10ddc6612ec9..f589667bd4e4 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -8339,11 +8339,13 @@ public:
virtual void replace_selection(const OUString& rText) override
{
+ disable_notify_events();
gtk_editable_delete_selection(GTK_EDITABLE(m_pEntry));
OString sText(OUStringToOString(rText, RTL_TEXTENCODING_UTF8));
gint position = gtk_editable_get_position(GTK_EDITABLE(m_pEntry));
gtk_editable_insert_text(GTK_EDITABLE(m_pEntry), sText.getStr(), sText.getLength(),
&position);
+ enable_notify_events();
}
virtual void set_position(int nCursorPos) override
More information about the Libreoffice-commits
mailing list