mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
filebrowser: use "dirs first" sort method by default
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: 64f35bd2ef
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-07 (Wed, 07 Jun 2017)
Origin message was:
------------------
- filebrowser: use "dirs first" sort method by default
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
committed by
Michael Liebmann
parent
dd5f205c95
commit
7945ff5f14
@@ -855,7 +855,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
|
||||
//Filebrowser
|
||||
g_settings.filebrowser_showrights = configfile.getInt32("filebrowser_showrights", 1);
|
||||
g_settings.filebrowser_sortmethod = configfile.getInt32("filebrowser_sortmethod", 0);
|
||||
g_settings.filebrowser_sortmethod = configfile.getInt32("filebrowser_sortmethod", 1);
|
||||
if ((g_settings.filebrowser_sortmethod < 0) || (g_settings.filebrowser_sortmethod >= FILEBROWSER_NUMBER_OF_SORT_VARIANTS))
|
||||
g_settings.filebrowser_sortmethod = 0;
|
||||
g_settings.filebrowser_denydirectoryleave = configfile.getBool("filebrowser_denydirectoryleave", false);
|
||||
|
Reference in New Issue
Block a user