--- a/filemanager/App/src/CFileManagerFoldersView.cpp Wed Sep 01 12:31:07 2010 +0100
+++ b/filemanager/App/src/CFileManagerFoldersView.cpp Tue Sep 14 20:57:31 2010 +0300
@@ -260,7 +260,13 @@
TFileManagerDriveInfo& drvInfo( DriveInfo() );
if ( !( drvInfo.iState & TFileManagerDriveInfo::EDrivePresent ) )
{
- User::Leave(KErrPathNotFound);
+ // Manually deactivate marking mode if folder path
+ // does not exist.
+ if ( iContainer->IsMarkingModeActivated() )
+ {
+ iContainer->SetMarkingMode( EFalse );
+ }
+ User::Leave( KErrPathNotFound );
}
else
{