summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/outlview.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-10-27 12:49:10 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-10-27 12:49:10 +0200
commit4aa4dfd21315d5f0707ba60a322d2cde10e7f2a4 (patch)
tree4a6ab1d774b4c297157a00eb46d880ca88217bff /sd/source/ui/view/outlview.cxx
parent19b80994ffc3c5740b9b7ce0c2755bae9623501b (diff)
undoapi: EndModelChange: Invalid SID_UNDO/REDO
Diffstat (limited to 'sd/source/ui/view/outlview.cxx')
-rwxr-xr-xsd/source/ui/view/outlview.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index 1aa0594194fa..e012da280103 100755
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -1801,6 +1801,9 @@ void OutlineView::EndModelChange()
if( bHasUndoActions && mpOutliner->GetEditEngine().HasTriedMergeOnLastAddUndo() )
TryToMergeUndoActions();
+
+ mpOutlineViewShell->Invalidate( SID_UNDO );
+ mpOutlineViewShell->Invalidate( SID_REDO );
}
/** updates all changes in the outliner model to the draw model */