locationpickerservice/src/locationpickerlandscapeview.cpp
changeset 26 f3533f6eae3f
parent 24 ccec19943943
child 30 96df3ab41000
--- a/locationpickerservice/src/locationpickerlandscapeview.cpp	Thu May 27 12:49:34 2010 +0300
+++ b/locationpickerservice/src/locationpickerlandscapeview.cpp	Fri Jun 11 13:33:47 2010 +0300
@@ -314,15 +314,16 @@
     if(mCollectionContent->locationFound())
     {
         mGridView->setModel(mCollectionContent->getProxyModel(),mGridViewItem);
+        //Enable the options
+        mAscendingAction->setEnabled(true);
+        mDescendingAction->setEnabled(true);
     }
     else
     {
         mGridView->setModel(mCollectionContent->getStandardModel(),mGridViewItem);
     }
     mViewType = ELocationPickerCollectionContent;
-    //Enable the options
-    mAscendingAction->setEnabled(true);
-    mDescendingAction->setEnabled(true);
+    
     mCollectionAction->setChecked(true);
 }