diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-26 15:39:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-26 22:12:22 +0100 |
commit | 2f70e6111b61d52bbdfa753257370cb82bfd30eb (patch) | |
tree | 796360fc9d4f0b8e366e930ce800ca93bb5c36c5 /vcl | |
parent | c526689112976d87ec7c974c14611f628ce1051d (diff) |
support overwrite-mode
Change-Id: I6133aedbebd3ca358e2b916469873c38fc7453cb
Reviewed-on: https://gerrit.libreoffice.org/69761
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/edit.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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; |