summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-07-30 13:57:20 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-08-14 08:45:21 +0200
commitcdb4867b130781fe50ab981889b64cefa5b492e6 (patch)
treec6463a4a8ec79f324193425e99a2c359543ff9e1
parent26c106a5aeca3e50d1e3c3d37e622b2743a23bca (diff)
'Wait' cursor while expanding a tree node
Change-Id: Iad79fa16bc4c7f7086d2adca6ea417f6e1959e61
-rw-r--r--svtools/source/contnr/foldertree.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/svtools/source/contnr/foldertree.cxx b/svtools/source/contnr/foldertree.cxx
index f783a5bd0e28..2f1d7fb2417e 100644
--- a/svtools/source/contnr/foldertree.cxx
+++ b/svtools/source/contnr/foldertree.cxx
@@ -27,7 +27,14 @@ FolderTree::FolderTree( vcl::Window* pParent, WinBits nBits )
void FolderTree::RequestingChildren( SvTreeListEntry* pEntry )
{
+ EnableChildPointerOverwrite( true );
+ SetPointer( PointerStyle::Wait );
+ Invalidate(InvalidateFlags::Update);
+
FillTreeEntry( pEntry );
+
+ SetPointer( PointerStyle::Arrow );
+ EnableChildPointerOverwrite( false );
}
void FolderTree::FillTreeEntry( SvTreeListEntry* pEntry )