Attempt to fix configuratons list regression

This commit is contained in:
twinaphex 2015-09-15 22:49:11 +02:00
parent 3914bb7611
commit 062075dfb5

View File

@ -206,8 +206,8 @@ int generic_action_ok_displaylist_push(const char *path,
case ACTION_OK_DL_CONFIGURATIONS_LIST:
info.type = type;
info.directory_ptr = idx;
if (path)
info_path = path;
if (settings->menu_config_directory)
info_path = settings->menu_config_directory;
else
info_path = label;
info_label = label;