[Libreoffice-commits] core.git: sc/source
Maxim Monastirsky
momonasmon at gmail.com
Tue Apr 17 09:53:03 UTC 2018
sc/source/ui/view/cellsh.cxx | 2 --
sc/source/ui/view/tabview3.cxx | 2 --
2 files changed, 4 deletions(-)
New commits:
commit 3732d5ab1782bbadfee457115fbd8dce78453cc2
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>
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index beca02abd382..cb2d374bdb6e 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -245,7 +245,6 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet )
break;
}
case FID_INS_CELLSDOWN:
- case SID_ROW_OPERATIONS:
bDisable = (!bSimpleArea) || GetViewData()->SimpleColMarked();
break;
@@ -266,7 +265,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 41bd76e976ad..4621d6ce120a 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -536,8 +536,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