camerauis/cameraapp/generic/GsCamcorderPlugin/src/GSCamdefaultnamesettingpage.cpp
branchRCL_3
changeset 10 8c55c525d5d7
parent 7 dbec5787fa68
child 13 38fb6f7eacd5
equal deleted inserted replaced
9:792dfc98fb3b 10:8c55c525d5d7
    85             static_cast<CAknAppUiBase*>( CCoeEnv::Static()->AppUi() );
    85             static_cast<CAknAppUiBase*>( CCoeEnv::Static()->AppUi() );
    86 
    86 
    87             // Show the editor dialog                
    87             // Show the editor dialog                
    88             TBool editorRet = EFalse;  
    88             TBool editorRet = EFalse;  
    89             // Trap this to make sure the orientation is reverted back to normal   
    89             // Trap this to make sure the orientation is reverted back to normal   
       
    90             if ( Cba() )
       
    91               {
       
    92               Cba()->MakeVisible( EFalse );
       
    93               }
    90             TRAPD( leaveErr, editorRet = ShowEditorDialogL() )
    94             TRAPD( leaveErr, editorRet = ShowEditorDialogL() )
       
    95             if ( Cba() )
       
    96               {              
       
    97               Cba()->MakeVisible( ETrue );                          
       
    98               }
    91             if ( !editorRet )
    99             if ( !editorRet )
    92                 {
   100                 {
    93                 // redraw listbox to update radio button when cancel is pressed 
   101                 // redraw listbox to update radio button when cancel is pressed 
    94                 ListBoxControl()->DrawNow();
   102                 ListBoxControl()->DrawNow();
    95                 }
   103                 }