summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/datafdlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-06 11:23:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-06 16:47:04 +0200
commitf1f33b332a0b4ada8ac8ff885fc2efee768091a6 (patch)
treeba0c323cf00f66290a3a7cd3a18b8af2a4780ee8 /sc/source/ui/miscdlgs/datafdlg.cxx
parentd15aa807be1c595dad9abc1dea04bb922570015a (diff)
move set_user_managed_scrolling to an initial weld argument
gtk is creating a11y objects on widgets changing parents so manage when that can happen to avoid premature creation of custom widget a11y objects Change-Id: I4879a93a897b2e4084cf6af0c9c0b0f0c1062254 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104025 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/miscdlgs/datafdlg.cxx')
-rw-r--r--sc/source/ui/miscdlgs/datafdlg.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx
index df21fb4c26b7..0e6fe0d76584 100644
--- a/sc/source/ui/miscdlgs/datafdlg.cxx
+++ b/sc/source/ui/miscdlgs/datafdlg.cxx
@@ -35,12 +35,10 @@ ScDataFormDlg::ScDataFormDlg(weld::Window* pParent, ScTabViewShell* pTabViewShel
, m_xBtnPrev(m_xBuilder->weld_button("prev"))
, m_xBtnNext(m_xBuilder->weld_button("next"))
, m_xBtnClose(m_xBuilder->weld_button("close"))
- , m_xSlider(m_xBuilder->weld_scrolled_window("scrollbar"))
+ , m_xSlider(m_xBuilder->weld_scrolled_window("scrollbar", true))
, m_xGrid(m_xBuilder->weld_container("grid"))
, m_xFixedText(m_xBuilder->weld_label("label"))
{
- m_xSlider->set_user_managed_scrolling();
-
sNewRecord = m_xFixedText->get_label();
//read header from current document, and add new controls