diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2015-10-10 19:31:29 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2015-10-10 19:31:29 +0200 |
commit | 2660a20170f31c764a7a5720c0d8b678dfb84666 (patch) | |
tree | 2db651ec84d15cd07e57883cb05f26bfb1336a74 /svtools/source/dialogs/PlaceEditDialog.cxx | |
parent | 34433196114f91af7216fe03823d2d0e920750bd (diff) |
fixed CMIS service editing
Change-Id: I62e89700b158ace1edcf26384f4294ba0661444a
Diffstat (limited to 'svtools/source/dialogs/PlaceEditDialog.cxx')
-rw-r--r-- | svtools/source/dialogs/PlaceEditDialog.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx index cdea1e8a1fe2..7f9ffa576ab0 100644 --- a/svtools/source/dialogs/PlaceEditDialog.cxx +++ b/svtools/source/dialogs/PlaceEditDialog.cxx @@ -64,6 +64,7 @@ PlaceEditDialog::PlaceEditDialog(vcl::Window* pParent, const std::shared_ptr<Pla get( m_pBTOk, "ok" ); get( m_pBTCancel, "cancel" ); get( m_pBTDelete, "delete" ); + get( m_pBTRepoRefresh, "repositoriesRefresh" ); get( m_pTypeGrid, "TypeGrid" ); get( m_pCBPassword, "rememberPassword" ); get( m_pEDPassword, "password" ); @@ -91,13 +92,17 @@ PlaceEditDialog::PlaceEditDialog(vcl::Window* pParent, const std::shared_ptr<Pla bSuccess = m_aDetailsContainers[i]->setUrl( rUrl ); if ( bSuccess ) { - m_pLBServerType->SelectEntryPos( i ); - SelectTypeHdl( m_pLBServerType ); - // Fill the Username field if ( rUrl.HasUserData( ) ) + { m_pEDUsername->SetText( INetURLObject::decode( rUrl.GetUser( ), INetURLObject::DECODE_WITH_CHARSET ) ); + m_aDetailsContainers[i]->setUsername( INetURLObject::decode( rUrl.GetUser( ), + INetURLObject::DECODE_WITH_CHARSET ) ); + } + + m_pLBServerType->SelectEntryPos( i ); + SelectTypeHdl( m_pLBServerType ); } } |