messagingapp/msgsettings/settingsview/src/msgsettingsview.cpp
changeset 46 b1f0785c289d
parent 41 25fe1fe642e3
child 56 f42d9a78f435
equal deleted inserted replaced
41:25fe1fe642e3 46:b1f0785c289d
    99         return;
    99         return;
   100     }
   100     }
   101     //remove the view 
   101     //remove the view 
   102     mMainWindow->removeView(mSMSCenterView);
   102     mMainWindow->removeView(mSMSCenterView);
   103     
   103     
   104     //refresh the form
   104     // This check is needed in case when smsc center view is 
   105     mSettingsForm->refreshViewForm();
   105     // launched directly 
   106 
   106     if(mMainWindow->views().count() > 0)
   107     //add the current view on top
   107     {
   108     mMainWindow->setCurrentView(this);
   108         QCRITICAL_WRITE("MsgViewManager::onSmsCenterEditViewClosed count>0");
       
   109         
       
   110         //refresh the form
       
   111         mSettingsForm->refreshViewForm();
       
   112         
       
   113         //add the current view on top
       
   114         mMainWindow->setCurrentView(this);
       
   115     }
   109 }
   116 }
   110 
   117 
   111 //eof
   118 //eof
   112 
   119