mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
gui/movieplayer.cpp: do not quit or jump to unmarked item, in case ie empty dir added
Origin commit data
------------------
Branch: ni/coolstream
Commit: c14ab10c2e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-30 (Tue, 30 Sep 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -516,9 +516,9 @@ bool CMoviePlayerGui::SelectFile()
|
||||
EnableClockAndMute(true);
|
||||
} else { // filebrowser
|
||||
EnableClockAndMute(false);
|
||||
if (filebrowser->exec(Path_local.c_str()) == true) {
|
||||
while (ret == false && filebrowser->exec(Path_local.c_str()) == true) {
|
||||
Path_local = filebrowser->getCurrentDir();
|
||||
CFile *file = filebrowser->getSelectedFile();
|
||||
CFile *file = NULL;
|
||||
filelist = filebrowser->getSelectedFiles();
|
||||
filelist_it = filelist.end();
|
||||
if (filelist.size() > 0) {
|
||||
@@ -529,8 +529,8 @@ bool CMoviePlayerGui::SelectFile()
|
||||
is_file_player = true;
|
||||
ret = prepareFile(file);
|
||||
}
|
||||
} else
|
||||
menu_ret = filebrowser->getMenuRet();
|
||||
}
|
||||
menu_ret = filebrowser->getMenuRet();
|
||||
EnableClockAndMute(true);
|
||||
}
|
||||
g_settings.network_nfs_moviedir = Path_local;
|
||||
|
Reference in New Issue
Block a user