Kaydet (Commit) ea00ad5d authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky Kaydeden (comit) Andras Timar

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/52909Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMaxim Monastirsky <momonasmon@gmail.com>
(cherry picked from commit 3732d5ab)
Reviewed-on: https://gerrit.libreoffice.org/53286Reviewed-by: 's avatarAdolfo Jayme Barrientos <fitojb@ubuntu.com>
(cherry picked from commit a3ea8389)
üst 47ed8614
...@@ -246,7 +246,6 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet ) ...@@ -246,7 +246,6 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet )
break; break;
} }
case FID_INS_CELLSDOWN: case FID_INS_CELLSDOWN:
case SID_ROW_OPERATIONS:
bDisable = (!bSimpleArea) || GetViewData()->SimpleColMarked(); bDisable = (!bSimpleArea) || GetViewData()->SimpleColMarked();
break; break;
...@@ -267,7 +266,6 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet ) ...@@ -267,7 +266,6 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet )
break; break;
} }
case FID_INS_CELLSRIGHT: case FID_INS_CELLSRIGHT:
case SID_COLUMN_OPERATIONS:
bDisable = (!bSimpleArea) || GetViewData()->SimpleRowMarked(); bDisable = (!bSimpleArea) || GetViewData()->SimpleRowMarked();
break; break;
......
...@@ -535,8 +535,6 @@ void ScTabView::SelectionChanged() ...@@ -535,8 +535,6 @@ void ScTabView::SelectionChanged()
rBindings.Invalidate( FID_INS_CELL ); rBindings.Invalidate( FID_INS_CELL );
rBindings.Invalidate( FID_INS_CELLSDOWN ); rBindings.Invalidate( FID_INS_CELLSDOWN );
rBindings.Invalidate( FID_INS_CELLSRIGHT ); rBindings.Invalidate( FID_INS_CELLSRIGHT );
rBindings.Invalidate( SID_ROW_OPERATIONS );
rBindings.Invalidate( SID_COLUMN_OPERATIONS );
rBindings.Invalidate( FID_CHG_COMMENT ); rBindings.Invalidate( FID_CHG_COMMENT );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment