[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - sc/source
Maxim Monastirsky
momonasmon at gmail.com
Tue Apr 24 01:57:29 UTC 2018
sc/source/ui/view/cellsh.cxx | 2 --
sc/source/ui/view/tabview3.cxx | 2 --
2 files changed, 4 deletions(-)
New commits:
commit a3ea83896f2d3aefa8cd67b3aa54884450999481
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Sun Apr 15 13:15:28 2018 +0300
tdf#116821 Keep row/column buttons enabled even when insert impossible
So other commands included in these buttons (like delete or set height/
width), could still be used.
Change-Id: If9e96116aebf73b2d20fb8d63ee67da3d17e3d9f
Reviewed-on: https://gerrit.libreoffice.org/52909
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon at gmail.com>
(cherry picked from commit 3732d5ab1782bbadfee457115fbd8dce78453cc2)
Reviewed-on: https://gerrit.libreoffice.org/53286
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index 8167be10088f..acbb5768552b 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -246,7 +246,6 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet )
break;
}
case FID_INS_CELLSDOWN:
- case SID_ROW_OPERATIONS:
bDisable = (!bSimpleArea) || GetViewData()->SimpleColMarked();
break;
@@ -267,7 +266,6 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet )
break;
}
case FID_INS_CELLSRIGHT:
- case SID_COLUMN_OPERATIONS:
bDisable = (!bSimpleArea) || GetViewData()->SimpleRowMarked();
break;
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index 69bc8035b421..6e93f5f5756a 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -535,8 +535,6 @@ void ScTabView::SelectionChanged()
rBindings.Invalidate( FID_INS_CELL );
rBindings.Invalidate( FID_INS_CELLSDOWN );
rBindings.Invalidate( FID_INS_CELLSRIGHT );
- rBindings.Invalidate( SID_ROW_OPERATIONS );
- rBindings.Invalidate( SID_COLUMN_OPERATIONS );
rBindings.Invalidate( FID_CHG_COMMENT );
More information about the Libreoffice-commits
mailing list