diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-08-06 17:44:56 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-10-06 16:06:46 +0000 |
commit | d4a1b5dc8aff03718625d03ad3ea77750069e196 (patch) | |
tree | c62bbc0cbaaa4807b87253508b77df701087a836 /sw | |
parent | 2a1a50b1d565270327a213f4e237b9655824a872 (diff) |
Input fields are always editable...
if the document isn't read-only. So backspace should always work in
input fields.
Regression from 961315f0838197e71e9bd49169afe673466e5eb8.
Reviewed-on: https://gerrit.libreoffice.org/10833
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 428c45fc779223371818bd11b2b846e1c13ebe47)
Conflicts:
sw/source/uibase/docvw/edtwin.cxx
Change-Id: I06648ab075b198ee7914e7ae60bef87e7ff94f0a
Reviewed-on: https://gerrit.libreoffice.org/11779
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/docvw/edtwin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/uibase/docvw/edtwin.cxx b/sw/source/core/uibase/docvw/edtwin.cxx index e76b3dc85ee5..d4294af0d7db 100644 --- a/sw/source/core/uibase/docvw/edtwin.cxx +++ b/sw/source/core/uibase/docvw/edtwin.cxx @@ -1887,8 +1887,7 @@ KEYINPUT_CHECKTABLE_INSDEL: break; case KEY_BACKSPACE: case KEY_BACKSPACE | KEY_SHIFT: - if ( !rSh.HasReadonlySel() - && !rSh.CrsrInsideInputFld() ) + if ( !rSh.HasReadonlySel() ) { bool bDone = false; // try to add comment for code snip: |