Kaydet (Commit) 428c45fc authored tarafından Jan-Marek Glogowski's avatar Jan-Marek Glogowski Kaydeden (comit) Caolán McNamara

Input fields are always editable...

if the document isn't read-only. So backspace should always work in
input fields.

Regression from 961315f0.

Change-Id: I06648ab075b198ee7914e7ae60bef87e7ff94f0a
Reviewed-on: https://gerrit.libreoffice.org/10833Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 1401c111
...@@ -1892,8 +1892,7 @@ KEYINPUT_CHECKTABLE_INSDEL: ...@@ -1892,8 +1892,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
break; break;
case KEY_BACKSPACE: case KEY_BACKSPACE:
case KEY_BACKSPACE | KEY_SHIFT: case KEY_BACKSPACE | KEY_SHIFT:
if ( !rSh.HasReadonlySel() if ( !rSh.HasReadonlySel() )
&& !rSh.CrsrInsideInputFld() )
{ {
bool bDone = false; bool bDone = false;
// try to add comment for code snip: // try to add comment for code snip:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment