Database & Playlist Viewer: Fix return to WPS from plugin

After calling up PictureFlow from the database or from the
Playlist Viewer, you would not be returned to the WPS as
would be expected when picking a new song, selecting
"Go to WPS" or pressing the WPS action button.

Change-Id: I902ac9185ebe092d0c4c08804db0a813a32cc39c
This commit is contained in:
Christian Soffke 2022-11-19 16:15:22 +01:00
parent b3a464c9d1
commit dcde5aa89d
3 changed files with 44 additions and 10 deletions

View file

@ -618,7 +618,7 @@ int filetype_list_viewers(const char* current_file)
int i = viewers[info.selection];
snprintf(plugin, MAX_PATH, "%s/%s." ROCK_EXTENSION,
PLUGIN_DIR, filetypes[i].plugin);
plugin_load(plugin, current_file);
ret = plugin_load(plugin, current_file);
}
return ret;
}