diff options
Diffstat (limited to 'vcl/source/treelist/treelistbox.cxx')
-rw-r--r-- | vcl/source/treelist/treelistbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index 9e23479518a9..22c67368c52d 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -1190,7 +1190,7 @@ void SvTreeListBox::StartDrag( sal_Int8, const Point& rPosPixel ) bool bOldUpdateMode = Control::IsUpdateMode(); Control::SetUpdateMode( true ); - Update(); + PaintImmediately(); Control::SetUpdateMode( bOldUpdateMode ); // Disallow using the selection and its children as drop targets. @@ -3383,7 +3383,7 @@ void SvTreeListBox::ModelNotification( SvListAction nActionId, SvTreeListEntry* case SvListAction::CLEARED: if( IsUpdateMode() ) - Update(); + PaintImmediately(); break; default: break; |