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

fixed CMIS service editing

Change-Id: I62e89700b158ace1edcf26384f4294ba0661444a
üst 34433196
...@@ -64,6 +64,7 @@ PlaceEditDialog::PlaceEditDialog(vcl::Window* pParent, const std::shared_ptr<Pla ...@@ -64,6 +64,7 @@ PlaceEditDialog::PlaceEditDialog(vcl::Window* pParent, const std::shared_ptr<Pla
get( m_pBTOk, "ok" ); get( m_pBTOk, "ok" );
get( m_pBTCancel, "cancel" ); get( m_pBTCancel, "cancel" );
get( m_pBTDelete, "delete" ); get( m_pBTDelete, "delete" );
get( m_pBTRepoRefresh, "repositoriesRefresh" );
get( m_pTypeGrid, "TypeGrid" ); get( m_pTypeGrid, "TypeGrid" );
get( m_pCBPassword, "rememberPassword" ); get( m_pCBPassword, "rememberPassword" );
get( m_pEDPassword, "password" ); get( m_pEDPassword, "password" );
...@@ -91,13 +92,17 @@ PlaceEditDialog::PlaceEditDialog(vcl::Window* pParent, const std::shared_ptr<Pla ...@@ -91,13 +92,17 @@ PlaceEditDialog::PlaceEditDialog(vcl::Window* pParent, const std::shared_ptr<Pla
bSuccess = m_aDetailsContainers[i]->setUrl( rUrl ); bSuccess = m_aDetailsContainers[i]->setUrl( rUrl );
if ( bSuccess ) if ( bSuccess )
{ {
m_pLBServerType->SelectEntryPos( i );
SelectTypeHdl( m_pLBServerType );
// Fill the Username field // Fill the Username field
if ( rUrl.HasUserData( ) ) if ( rUrl.HasUserData( ) )
{
m_pEDUsername->SetText( INetURLObject::decode( rUrl.GetUser( ), m_pEDUsername->SetText( INetURLObject::decode( rUrl.GetUser( ),
INetURLObject::DECODE_WITH_CHARSET ) ); INetURLObject::DECODE_WITH_CHARSET ) );
m_aDetailsContainers[i]->setUsername( INetURLObject::decode( rUrl.GetUser( ),
INetURLObject::DECODE_WITH_CHARSET ) );
}
m_pLBServerType->SelectEntryPos( i );
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