diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2018-04-15 13:15:28 +0300 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2018-04-24 03:56:10 +0200 |
commit | a3ea83896f2d3aefa8cd67b3aa54884450999481 (patch) | |
tree | c25318b8162b739cb9c9340f609f579eae22cf84 | |
parent | 28f2941680f850e88228e45699ac612ce036cf16 (diff) |
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@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
(cherry picked from commit 3732d5ab1782bbadfee457115fbd8dce78453cc2)
Reviewed-on: https://gerrit.libreoffice.org/53286
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r-- | sc/source/ui/view/cellsh.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabview3.cxx | 2 |
2 files changed, 0 insertions, 4 deletions
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 ); |