diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-28 17:44:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-28 22:14:34 +0100 |
commit | dd929d99dd86a0ed8587adc5b8b6bff5b4dafbf3 (patch) | |
tree | 2e938944fe261e35fff29837a64f12bb9581c285 | |
parent | 30a07561c19da050c7ca0a7a67868a6f6229a449 (diff) |
drop WB_SIMPLEMODE for TreeView
multi selections are weird with this set
Change-Id: I765c46294803d06911a6ac3fc37d68dd001aacdc
Reviewed-on: https://gerrit.libreoffice.org/64187
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/source/window/builder.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index ce2204fee71b..44795670be9c 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -1904,7 +1904,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString & // everything over to SvHeaderTabListBox/SvTabListBox //c) remove the users of makeSvTabListBox and makeSvTreeListBox extractModel(id, rMap); - WinBits nWinStyle = WB_CLIPCHILDREN|WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_SIMPLEMODE; + WinBits nWinStyle = WB_CLIPCHILDREN|WB_LEFT|WB_VCENTER|WB_3DLOOK; if (m_bLegacy) { OUString sBorder = BuilderUtils::extractCustomProperty(rMap); @@ -1917,7 +1917,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString & nWinStyle |= WB_BORDER; if (m_bLegacy) { - xWindow = VclPtr<ListBox>::Create(pRealParent, nWinStyle); + xWindow = VclPtr<ListBox>::Create(pRealParent, nWinStyle | WB_SIMPLEMODE); xWindowForPackingProps = xWindow; } else |