[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - sw/source
Michael Stahl
mstahl at redhat.com
Wed Sep 21 09:32:23 UTC 2016
sw/source/ui/dbui/dbinsdlg.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit c7a18b2edcaeca80bac512d3018ed9cae1eb0caf
Author: Michael Stahl <mstahl at redhat.com>
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 <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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 ));
More information about the Libreoffice-commits
mailing list