stif/TouchConsoleUI/src/Consolemenus.cpp
branchRCL_3
changeset 14 a9c038d69df8
parent 9 7e287c5c61f0
child 18 3406c99bc375
--- a/stif/TouchConsoleUI/src/Consolemenus.cpp	Tue May 25 14:22:58 2010 +0300
+++ b/stif/TouchConsoleUI/src/Consolemenus.cpp	Wed Jun 09 11:23:41 2010 +0300
@@ -3992,7 +3992,7 @@
 */
 CMenu* CTestSetMenu::SelectL( TKeyCode aSelection, TBool& aContinue )
     {
-    TBuf<32> currSetName;
+    
     MapKeyCode(aSelection);    
     
     if( ( aSelection != EKeyRightArrow ) &&
@@ -4064,28 +4064,11 @@
                                 
                 return iSubMenu;  
             case ESetSave: 
-                // during the save operation default set name (ConsoleUI.set) is replaced with
-                // new name created base on current date.
-                // Set is the reloaded to make sure that 
-                // old test set with default name will not affect test execution
-                currSetName.Copy( iTestSetName );
                 ret = iMain->UIStore().SaveTestSet2( iTestSetName );
                 if( ret != KErrNone )
                     {
-                    User::InfoPrint( _L("Test set saving failed at saving test set") );
-                    } 
-                
-                ret = iMain->UIStore().RemoveTestSet( currSetName );
-                if( ret != KErrNone )
-                    {
-                    User::InfoPrint( _L("Test set saving failed at removing old test set") );
-                    }             
-                
-                ret = iMain->UIStore().LoadTestSet( iTestSetName );
-                if( ret != KErrNone )
-                    {
-                    User::InfoPrint( _L("Test set saving failed at reloding test set") );
-                    }    
+                    User::InfoPrint( _L("Test set saving failed") );
+                    }   
                 break;
   
   			default: