Kaydet (Commit) b4823f17 authored tarafından Szymon Kłos's avatar Szymon Kłos

Separator should not be the default selection

Change-Id: Id879e795d3b6722ca0d86f8f6a8a32b0ef6f12bd
üst 2960438d
...@@ -140,7 +140,6 @@ void PlaceEditDialog::InitDetails( ) ...@@ -140,7 +140,6 @@ void PlaceEditDialog::InitDetails( )
bool bSkipOneDrive= OUString( ONEDRIVE_CLIENT_ID ).isEmpty() || bool bSkipOneDrive= OUString( ONEDRIVE_CLIENT_ID ).isEmpty() ||
OUString( ONEDRIVE_CLIENT_SECRET ).isEmpty(); OUString( ONEDRIVE_CLIENT_SECRET ).isEmpty();
Sequence< OUString > aTypesUrlsList( officecfg::Office::Common::Misc::CmisServersUrls::get( xContext ) ); Sequence< OUString > aTypesUrlsList( officecfg::Office::Common::Misc::CmisServersUrls::get( xContext ) );
Sequence< OUString > aTypesNamesList( officecfg::Office::Common::Misc::CmisServersNames::get( xContext ) ); Sequence< OUString > aTypesNamesList( officecfg::Office::Common::Misc::CmisServersNames::get( xContext ) );
...@@ -182,6 +181,10 @@ void PlaceEditDialog::InitDetails( ) ...@@ -182,6 +181,10 @@ void PlaceEditDialog::InitDetails( )
// Set default to first value // Set default to first value
m_pLBServerType->SelectEntryPos( 0 ); m_pLBServerType->SelectEntryPos( 0 );
if ( m_pLBServerType->GetSelectEntry() == "--------------------" )
m_pLBServerType->SelectEntryPos( 1 );
SelectTypeHdl( m_pLBServerType ); SelectTypeHdl( m_pLBServerType );
} }
......
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