[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sw/source

Jan-Marek Glogowski glogow at fbihome.de
Mon Oct 6 09:07:09 PDT 2014


 sw/source/core/uibase/docvw/edtwin.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit d4a1b5dc8aff03718625d03ad3ea77750069e196
Author: Jan-Marek Glogowski <glogow at fbihome.de>
Date:   Wed Aug 6 17:44:56 2014 +0200

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at 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 at collabora.co.uk>
    Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/sw/source/core/uibase/docvw/edtwin.cxx b/sw/source/core/uibase/docvw/edtwin.cxx
index e76b3dc..d4294af 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:


More information about the Libreoffice-commits mailing list