[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Mar 26 21:12:48 UTC 2019
vcl/source/control/edit.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 2f70e6111b61d52bbdfa753257370cb82bfd30eb
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Mar 26 15:39:32 2019 +0000
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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;
More information about the Libreoffice-commits
mailing list