diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/fmcomp/fmgridif.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 85f85134a6da..d3555b9947fa 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -1693,6 +1693,8 @@ void FmXGridPeer::setDesignMode(sal_Bool bOn) throw( RuntimeException, std::exce static_cast<FmGridControl*>(pWin)->SetDesignMode(bOn); } + setVisible(!bOn); + if (bOn) DisConnectFromDispatcher(); else |