summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/salvtables.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 361b8d7830a7..47ab9beab90a 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -2558,7 +2558,7 @@ public:
virtual int n_children() const override
{
- return m_xTreeView->GetEntryCount();
+ return m_xTreeView->GetModel()->GetChildList(nullptr).size();
}
virtual void select(int pos) override