equal
deleted
inserted
replaced
258 } |
258 } |
259 TRAP_IGNORE( RefreshDriveInfoL() ); |
259 TRAP_IGNORE( RefreshDriveInfoL() ); |
260 TFileManagerDriveInfo& drvInfo( DriveInfo() ); |
260 TFileManagerDriveInfo& drvInfo( DriveInfo() ); |
261 if ( !( drvInfo.iState & TFileManagerDriveInfo::EDrivePresent ) ) |
261 if ( !( drvInfo.iState & TFileManagerDriveInfo::EDrivePresent ) ) |
262 { |
262 { |
263 User::Leave(KErrPathNotFound); |
263 // Manually deactivate marking mode if folder path |
|
264 // does not exist. |
|
265 if ( iContainer->IsMarkingModeActivated() ) |
|
266 { |
|
267 iContainer->SetMarkingMode( EFalse ); |
|
268 } |
|
269 User::Leave( KErrPathNotFound ); |
264 } |
270 } |
265 else |
271 else |
266 { |
272 { |
267 TInt index( iEngine.CurrentIndex() ); |
273 TInt index( iEngine.CurrentIndex() ); |
268 if ( index != KErrNotFound ) |
274 if ( index != KErrNotFound ) |