Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3629

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/29/3629/1

fdo#63592 this new patch will solve context numerical problem

Change-Id: I5598fd9dab823c738a812537743695ec88690a24
---
M sc/source/ui/view/formatsh.cxx
1 file changed, 9 insertions(+), 1 deletion(-)



diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 3f2b26d..7c66d1c 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -2056,7 +2056,13 @@
 {
     ScTabViewShell* pTabViewShell = GetViewData()->GetViewShell();
     pTabViewShell->HideListBox();               // Autofilter-DropDown-Listbox
-
+    bool bEditMode = false;
+    if ( GetViewData()->HasEditView( GetViewData()->GetActivePart() ) )
+       {
+       bEditMode=true;
+       SC_MOD()->InputEnterHandler();
+       pTabViewShell->UpdateInputHandler();
+       }
     sal_uInt16 nSlot = rReq.GetSlot();
     switch( nSlot )
     {
@@ -2112,6 +2118,8 @@
         }
         break;
     }
+    if (bEditMode)
+    SC_MOD()->SetInputMode( SC_INPUT_TABLE );
 }
 
 void ScFormatShell::GetTextDirectionState( SfxItemSet& rSet )

-- 
To view, visit https://gerrit.libreoffice.org/3629
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5598fd9dab823c738a812537743695ec88690a24
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: abdulmajeed ahmed <aalabdulrazzaq@kacst.edu.sa>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.