stif/TouchConsoleUI/src/Consolemenus.cpp
changeset 21 f5d4820de50d
parent 15 ccab7f1f8266
child 30 86a2e675b80a
--- a/stif/TouchConsoleUI/src/Consolemenus.cpp	Thu May 13 23:59:27 2010 +0300
+++ b/stif/TouchConsoleUI/src/Consolemenus.cpp	Tue May 25 18:01:01 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: