#include "MpCommonUtil.h"
#include "MpPlaylistCreatorForm.h"
#include "MpPlaylistEditorPresentationModel.h"
+#include "MpPlaylistListPresentationModel.h"
#include "MpResourceManager.h"
#include "MpSceneRegister.h"
#include "MpTypes.h"
pSceneManager->DestroyScene(scenId);
}
}
+ else if ((sceneIndex == pSceneList->GetCount()-1)
+ && (__previousSceneId.Equals(IDSCN_PLAYLIST_CONTENT_LIST,true)))
+ {
+ PlaylistListPresentationModel* pListPresentationModel = PlaylistListPresentationModel::GetInstance();
+ if (pListPresentationModel->GetContentCount() ==0)
+ {
+ pSceneManager->DestroyScene(scenId);
+ }
+ }
else
{
pSceneManager->AddToSceneHistory(scenId);