sw/source/ui/table/tautofmt.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 51291f2352976b2f875197de83486a74795e86a3 Author: Caolán McNamara <caol...@redhat.com> Date: Wed Feb 28 20:44:25 2018 +0000 reconcile sw and sc rename autoformat dialogs make the sw act like the sc one, its less weird Change-Id: I1e0a6ca7ee0490a16da4ff1941be8e4ac84d39d2 Reviewed-on: https://gerrit.libreoffice.org/50533 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx index bea100caf940..1d18805430bb 100644 --- a/sw/source/ui/table/tautofmt.cxx +++ b/sw/source/ui/table/tautofmt.cxx @@ -43,6 +43,7 @@ public: m_xLabel->set_label(rEditTitle); m_xDialog->set_title(rTitle); m_xEdInput->set_text(rDefault); + m_xEdInput->select_region(0, -1); } OUString GetInputString() const @@ -331,7 +332,7 @@ IMPL_LINK_NOARG(SwAutoFormatDlg, RenameHdl, Button*, void) bool bOk = false; while( !bOk ) { - SwStringInputDlg aDlg(GetFrameWeld(), aStrRenameTitle, m_pLbFormat->GetSelectedEntry(), OUString()); + SwStringInputDlg aDlg(GetFrameWeld(), aStrRenameTitle, aStrLabel, m_pLbFormat->GetSelectedEntry()); if (aDlg.run() == RET_OK) { bool bFormatRenamed = false; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits