Fix bugs
[profile/tv/apps/native/filebrowser.git] / src / layouts / FbAllLayout.cpp
index a0c367d..336488d 100644 (file)
@@ -12,6 +12,8 @@
 #include <CtxPopup.h>
 #include "FbBaseView.h"
 #include "FbAllLayout.h"
+#include "../views/BaseView/Info.h"
+#include "common.h"
 
 
 struct SFbAllLayout {
@@ -119,6 +121,7 @@ void CFbAllLayout::t_OnShow(void)
 {
        elm_object_part_content_unset(m->eoBase, FBR_PART_CONTENT);
        elm_object_part_content_set(m->eoBase, FBR_PART_CONTENT, Layout()); 
+       CInfo::SetGroupIndex(E_GRP_ALL);
        m->pFileGrid->Update(m->updateFlag);
        m->updateFlag = false; // set default
        CBaseLayout::t_OnShow();
@@ -188,7 +191,7 @@ void CFbAllLayout::SetFocus(Eina_Bool flag)
 void CFbAllLayout::Action(void)
 {
        ASSERT(m);
-       
+
        return m->pFileGrid->Action();
 }