summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/tabsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/shells/tabsh.cxx')
-rw-r--r--sw/source/ui/shells/tabsh.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/ui/shells/tabsh.cxx b/sw/source/ui/shells/tabsh.cxx
index 73ef1a358e9b..fb9e85e05b52 100644
--- a/sw/source/ui/shells/tabsh.cxx
+++ b/sw/source/ui/shells/tabsh.cxx
@@ -1290,9 +1290,10 @@ void SwTableShell::GetState(SfxItemSet &rSet)
break;
case FN_INSERT_TABLE:
- // Irgendeinen Wert "putten", damit Controller enabled bleibt.
- // Statt "Insert:Table" erscheint dann "Format:Table".
-// rSet.Put(SfxUInt16Item(nSlot, 1));
+ if ( rSh.CrsrInsideInputFld() )
+ {
+ rSet.DisableItem( nSlot );
+ }
break;
case FN_TABLE_OPTIMAL_HEIGHT: