summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 010a491..fabbf7d 100644
--- a/menu.c
+++ b/menu.c
@@ -867,7 +867,9 @@ eOSState cMainMenu::Commands(eKeys Key)
}
break;
case cmdImgMove:
- return AddSubMenu(new cCMDMove(ImageList, mItem->FileName(), this, false, true));
+ if(mItem) {
+ return AddSubMenu(new cCMDMove(ImageList, mItem->FileName(), this, false, true));
+ }
break;
case cmdImgDelete:
if(mItem && mItem->Type() == iDVD)