equal
deleted
inserted
replaced
297 TInt CPsu2CopyToSimCmd::RunError(TInt aError) |
297 TInt CPsu2CopyToSimCmd::RunError(TInt aError) |
298 { |
298 { |
299 PBK2_DEBUG_PRINT( PBK2_DEBUG_STRING |
299 PBK2_DEBUG_PRINT( PBK2_DEBUG_STRING |
300 ( "CPsu2CopyToSimCmd::RunError %d" ), aError ); |
300 ( "CPsu2CopyToSimCmd::RunError %d" ), aError ); |
301 CCoeEnv::Static()->HandleError(aError); |
301 CCoeEnv::Static()->HandleError(aError); |
|
302 |
|
303 // If the copy operation is cancelled due to error occurred, update the |
|
304 // ui control and reset the command pointer before it is destructed. |
|
305 if ( iNameListUiControl ) |
|
306 { |
|
307 iNameListUiControl->UpdateAfterCommandExecution(); |
|
308 } |
302 if ( iCommandObserver ) |
309 if ( iCommandObserver ) |
303 { |
310 { |
304 iCommandObserver->CommandFinished(*this); |
311 iCommandObserver->CommandFinished(*this); |
305 } |
312 } |
306 return KErrNone; |
313 return KErrNone; |