diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2015-07-24 09:47:18 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2015-07-24 12:29:12 +0200 |
commit | b11f521c56cba07a7b8a0568ca76d48461e08a5f (patch) | |
tree | 8d870651c2f4575a02366add76f561017b6a79e0 /fpicker | |
parent | 2c6ffb2c758f70e7259f8285703c22d32f47f7ab (diff) |
handle the delete button from PlaceEditDialog
Change-Id: Idb3257d1c106821a6e86182bca79c1aff8bfaea3
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index a810ff8312cc..a263c3fc8576 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -658,6 +658,9 @@ IMPL_LINK_TYPED ( RemoteFilesDialog, EditServiceMenuHdl, MenuButton *, pButton, m_bIsUpdated = true; break; } + case RET_NO: + sIdent = "delete_service"; + break; case RET_CANCEL : default : // Do Nothing @@ -665,7 +668,7 @@ IMPL_LINK_TYPED ( RemoteFilesDialog, EditServiceMenuHdl, MenuButton *, pButton, }; } } - else if( sIdent == "delete_service" && m_pServices_lb->GetEntryCount() > 0 ) + if( sIdent == "delete_service" && m_pServices_lb->GetEntryCount() > 0 ) { unsigned int nSelected = m_pServices_lb->GetSelectEntryPos(); int nPos = GetSelectedServicePos(); |