[Libreoffice-commits] core.git: Branch 'feature/gsoc15-open-remote-files-dialog' - svtools/source
Szymon Kłos
eszkadev at gmail.com
Sat Oct 10 10:32:08 PDT 2015
svtools/source/dialogs/PlaceEditDialog.cxx | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
New commits:
commit 2660a20170f31c764a7a5720c0d8b678dfb84666
Author: Szymon Kłos <eszkadev at gmail.com>
Date: Sat Oct 10 19:31:29 2015 +0200
fixed CMIS service editing
Change-Id: I62e89700b158ace1edcf26384f4294ba0661444a
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index cdea1e8..7f9ffa5 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 );
}
}
More information about the Libreoffice-commits
mailing list