Kaydet (Commit) 984790f1 authored tarafından Michael Stahl's avatar Michael Stahl

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
üst 14bcb68c
...@@ -363,6 +363,10 @@ SwInsertDBColAutoPilot::SwInsertDBColAutoPilot( SwView& rView, ...@@ -363,6 +363,10 @@ SwInsertDBColAutoPilot::SwInsertDBColAutoPilot( SwView& rView,
m_pIbDbcolAllFrom->Enable( false ); 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_pRbAsTable->SetClickHdl( LINK(this, SwInsertDBColAutoPilot, PageHdl ));
m_pRbAsField->SetClickHdl( LINK(this, SwInsertDBColAutoPilot, PageHdl )); m_pRbAsField->SetClickHdl( LINK(this, SwInsertDBColAutoPilot, PageHdl ));
m_pRbAsText->SetClickHdl( LINK(this, SwInsertDBColAutoPilot, PageHdl )); m_pRbAsText->SetClickHdl( LINK(this, SwInsertDBColAutoPilot, PageHdl ));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment