diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-08-06 17:44:56 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-17 16:20:58 -0500 |
commit | 428c45fc779223371818bd11b2b846e1c13ebe47 (patch) | |
tree | 59194a9007408bbfc5a632928138f963dfcaad10 /sw | |
parent | 1401c111455c43288c6b5965c433e8bea1c91ee3 (diff) |
Input fields are always editable...
if the document isn't read-only. So backspace should always work in
input fields.
Regression from 961315f0838197e71e9bd49169afe673466e5eb8.
Change-Id: I06648ab075b198ee7914e7ae60bef87e7ff94f0a
Reviewed-on: https://gerrit.libreoffice.org/10833
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index d482be3b3264..7cffc4b39cb6 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -1892,8 +1892,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: |