diff options
Diffstat (limited to 'sc/source/ui/view/cellsh.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx index 67908ba1ba68..6b1fc8cf7ef0 100644 --- a/sc/source/ui/view/cellsh.cxx +++ b/sc/source/ui/view/cellsh.cxx @@ -254,7 +254,8 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet ) if (nWhich == FID_INS_COLUMNS_AFTER) eAction = sc::ColRowEditAction::InsertColumnsAfter; - bDisable = (!bSimpleArea) || GetViewData()->SimpleRowMarked(); + bDisable = (!bSimpleArea && eMarkType != SC_MARK_SIMPLE_FILTERED) + || GetViewData()->SimpleRowMarked(); if (!bEditable && nRow1 == 0 && nRow2 == pDoc->MaxRow()) { // See if row insertions are allowed. |