vcl/source/control/edit.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 2f70e6111b61d52bbdfa753257370cb82bfd30eb
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue Mar 26 15:39:32 2019 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Mar 26 22:12:22 2019 +0100

    support overwrite-mode
    
    Change-Id: I6133aedbebd3ca358e2b916469873c38fc7453cb
    Reviewed-on: https://gerrit.libreoffice.org/69761
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index d9d9d3d9730d..72325742cac3 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -195,6 +195,10 @@ bool Edit::set_property(const OString &rKey, const 
OUString &rValue)
     {
         SetReadOnly(!toBool(rValue));
     }
+    else if (rKey == "overwrite-mode")
+    {
+        SetInsertMode(!toBool(rValue));
+    }
     else if (rKey == "visibility")
     {
         mbPassword = false;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to