Kaydet (Commit) b329d6f4 authored tarafından Caolán McNamara's avatar Caolán McNamara

block/unblock notify events for TextView text/selection change

Change-Id: I7745c04b9331b98c9c405544fe262c24ed066ddd
Reviewed-on: https://gerrit.libreoffice.org/71731
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst d0aa5396
......@@ -3940,12 +3940,16 @@ public:
virtual void set_text(const OUString& rText) override
{
disable_notify_events();
m_xTextView->SetText(rText);
enable_notify_events();
}
virtual void replace_selection(const OUString& rText) override
{
disable_notify_events();
m_xTextView->ReplaceSelected(rText);
enable_notify_events();
}
virtual OUString get_text() const override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment