filemanager/App/src/CFileManagerRestoreView.cpp
branchRCL_3
changeset 20 efe289f793e7
parent 0 6a9f87576119
--- a/filemanager/App/src/CFileManagerRestoreView.cpp	Tue May 11 16:01:48 2010 +0300
+++ b/filemanager/App/src/CFileManagerRestoreView.cpp	Tue May 25 12:28:34 2010 +0300
@@ -22,7 +22,7 @@
 #include <aknlists.h>
 #include <akntitle.h>
 #include <CFileManagerEngine.h>
-#include <FileManager.rsg>
+#include <filemanager.rsg>
 #include <FileManagerDlgUtils.h>
 #include <CFileManagerRestoreSettings.h>
 #include <FileManagerDebug.h>
@@ -209,6 +209,14 @@
         {
         return;
         }
+
+    TBool isSystemStateNormal = static_cast< CFileManagerAppUi* >( AppUi() )->IsSystemStateNormal();
+    if ( !isSystemStateNormal )
+        {
+        FileManagerDlgUtils::ShowErrorNoteL( R_QTN_FMGR_SYSTEM_NOT_READY );
+        return;
+        }
+
     const CArrayFix< TInt >* items = iContainer->ListBoxSelectionIndexes();
 
     TInt count( items->Count() );