summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-07-10 12:58:58 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-07-16 09:53:43 +0200
commitd58582a6ce0b85fd6cf699d3c935fe4c7257c5b4 (patch)
tree965c76778ea9297b4fb8b63bb1e1bada626c3ec4 /svtools
parente211999cdf2e54bf15670a89607622737e4acf44 (diff)
Add prefix to the name after editing service
Change-Id: Icca2436e5a3782829971bf9e672bbddab81cc97f
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/RemoteFilesDialog.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/svtools/source/dialogs/RemoteFilesDialog.cxx b/svtools/source/dialogs/RemoteFilesDialog.cxx
index d27fccc355ef..4d5c61914b6a 100644
--- a/svtools/source/dialogs/RemoteFilesDialog.cxx
+++ b/svtools/source/dialogs/RemoteFilesDialog.cxx
@@ -643,7 +643,13 @@ IMPL_LINK_TYPED ( RemoteFilesDialog, EditServiceMenuHdl, MenuButton *, pButton,
m_aServices[nPos] = pEditedService;
m_pServices_lb->RemoveEntry( nSelected );
- m_pServices_lb->InsertEntry( pEditedService->GetName(), nSelected );
+
+ OUString sPrefix = lcl_GetServiceType( pEditedService );
+
+ if(!sPrefix.isEmpty())
+ sPrefix += ": ";
+
+ m_pServices_lb->InsertEntry( sPrefix + pEditedService->GetName(), nSelected );
m_pServices_lb->SelectEntryPos( nSelected );
m_bIsUpdated = true;