[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - vcl/unx
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Sun Mar 8 16:09:27 UTC 2020
vcl/unx/gtk3/gtk3gtkinst.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 58bbb4dc19f939e1173b9c7ed93878a006311c4d
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 17:08:52 2020 +0100
tdf#131210: avoid infinite loop in 'Date acceptance patterns'
Change-Id: Ib049b5d44f91e2b36c068e1ef351ae81707d885e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90035
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 256aacc6b888..41af4ee7cf62 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -7698,11 +7698,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