diff options
author | anbr <vdr07@deltab.de> | 2013-03-23 10:40:35 +0100 |
---|---|---|
committer | anbr <vdr07@deltab.de> | 2013-03-23 10:40:35 +0100 |
commit | c30b9cedd2d5368791be9cfb013b9e20f167b1f0 (patch) | |
tree | 2e7cb41728f7e9b93138343b76c0cf6acbf33de2 /menu.c | |
parent | 49f5d794deaab5001782ce74a3ab36b7f7251579 (diff) | |
download | vdr-plugin-dvdswitch-c30b9cedd2d5368791be9cfb013b9e20f167b1f0.tar.gz vdr-plugin-dvdswitch-c30b9cedd2d5368791be9cfb013b9e20f167b1f0.tar.bz2 |
Don't try to move file without selection
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |