summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-06-22 18:47:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-06-22 21:38:35 +0200
commit38f1412294e7d2987072a2e211e1f68c197f16fa (patch)
tree00106db8a6f13018c09e27de55e1e35d28394210 /cui/source
parent33150fd592162f8f3de835b42176ad87d6ad58fe (diff)
Related: tdf#126036 give options dialog consistent button order
its not welded yet, but skip ahead and give it explicit consistent button order in the meantime Change-Id: Ia850a024cb5a87b9231b5ffdec701646d7014e08 Reviewed-on: https://gerrit.libreoffice.org/74573 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/options/treeopt.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 93b53e01005c..31c5e0400615 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -490,6 +490,9 @@ struct OptionsGroupInfo
void OfaTreeOptionsDialog::InitWidgets()
{
+ VclButtonBox *pButtonBox = get_action_area();
+ pButtonBox->sort_native_button_order();
+
get(pOkPB, "ok");
get(pApplyPB, "apply");
get(pBackPB, "revert");