sw/source/ui/dbui/dbinsdlg.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit c7a18b2edcaeca80bac512d3018ed9cae1eb0caf Author: Michael Stahl <[email protected]> Date: Fri Sep 16 22:45:33 2016 +0200 tdf#101164 sw: Insert Database Columns dialog: ensure one of ... ... the radio buttons is active by default, in case there's no configuration to read the state from yet. Change-Id: If1c0462eb5cb9ea5177f1d5a8953b34fabd0829c (cherry picked from commit 984790f15d935f986fd0f5ed92f6a63c17eace35) Reviewed-on: https://gerrit.libreoffice.org/29089 Tested-by: Jenkins <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx index c1babe1..2ccd096 100644 --- a/sw/source/ui/dbui/dbinsdlg.cxx +++ b/sw/source/ui/dbui/dbinsdlg.cxx @@ -362,6 +362,10 @@ SwInsertDBColAutoPilot::SwInsertDBColAutoPilot( SwView& rView, m_pIbDbcolAllFrom->Enable( false ); } + // by default, select header button + m_pRbHeadlColnms->Check(true); + m_pRbHeadlEmpty->Check(false); + m_pRbAsTable->SetClickHdl( LINK(this, SwInsertDBColAutoPilot, PageHdl )); m_pRbAsField->SetClickHdl( LINK(this, SwInsertDBColAutoPilot, PageHdl )); m_pRbAsText->SetClickHdl( LINK(this, SwInsertDBColAutoPilot, PageHdl ));
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
