summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index 1a922f47de09..eb81fb6f7ea2 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -575,7 +575,9 @@ void AssignmentPersistentData::Commit()
get(m_pDatasource, "datasource");
get(m_pAdministrateDatasources, "admin");
get(m_pTable, "datatable");
- m_pFieldScroller = &get<VclScrolledWindow>("scrollwindow")->getVertScrollBar();
+ VclScrolledWindow *pScrollWindow = get<VclScrolledWindow>("scrollwindow");
+ pScrollWindow->setUserManagedScrolling(true);
+ m_pFieldScroller = &pScrollWindow->getVertScrollBar();
for (sal_Int32 row=0; row<FIELD_PAIRS_VISIBLE; ++row)
{