diff -r 3c271c9e6618 -r 41042d2af523 landmarksui/uicontrols/src/CLmkAppLmSelectorImpl.cpp --- a/landmarksui/uicontrols/src/CLmkAppLmSelectorImpl.cpp Fri Feb 19 22:45:00 2010 +0200 +++ b/landmarksui/uicontrols/src/CLmkAppLmSelectorImpl.cpp Fri Mar 12 15:42:12 2010 +0200 @@ -569,14 +569,17 @@ { iDeletionHelper.StoreListInformation( *iListBox, EFalse ); } - iDeletionHelper.UpdateListIfDeleteHappenedL(); if( currentItemIndex >= 0 && currentItemIndex < iListBox->Model()->NumberOfItems() ) { iListBox->SetCurrentItemIndex(currentItemIndex); - } - + } #endif // RD_SCALABLE_UI_V2 + TRAPD(err,CPosLandmark* landmark = iDb.ReadLandmarkLC(iNewLmkItemId);CleanupStack::PopAndDestroy( landmark )); + if (err == KErrNotFound) + { + LmItemListProvider().RemoveItem( iNewLmkItemId ); + } } // -----------------------------------------------------------------------------