summaryrefslogtreecommitdiff
path: root/sw/source/ui/fldui
diff options
context:
space:
mode:
authorheiko tietze <tietze.heiko@gmail.com>2018-02-27 14:53:01 +0100
committerHeiko Tietze <tietze.heiko@gmail.com>2018-03-01 16:02:44 +0100
commit0a9a3f14f4f6cef46a816f9f4c6c4d14f981be60 (patch)
treecc9e3c4014dad341796d19bed6ed35ff86378688 /sw/source/ui/fldui
parent7651e57573952758032ceb88f16e2dbbb6cc4e18 (diff)
tdf#116029 Layout of field edit dialog according to the book
Help button to the left, Ok/Cancel right hand Change-Id: I106466ab2b5e585367db7873e91bf44bbe66db0a Reviewed-on: https://gerrit.libreoffice.org/50438 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'sw/source/ui/fldui')
-rw-r--r--sw/source/ui/fldui/fldedt.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/fldedt.cxx b/sw/source/ui/fldui/fldedt.cxx
index 3a4c22ea6095..f0e30e05c1bb 100644
--- a/sw/source/ui/fldui/fldedt.cxx
+++ b/sw/source/ui/fldui/fldedt.cxx
@@ -146,7 +146,9 @@ void SwFieldEditDlg::Init()
m_pPrevBT->Enable( bMove );
if (pCurField->GetTypeId() == TYP_EXTUSERFLD)
- m_pAddressBT->Show();
+ m_pAddressBT->Enable();
+ else
+ m_pAddressBT->Disable();
pSh->DestroyCursor();
pSh->EndAction();