Set correct default sorting direction

Respect the field option defaultSortDesc for the default screen sort
direction, e.g. for CPU%.
This commit is contained in:
Christian Göttsche
2021-12-16 16:09:32 +01:00
committed by cgzones
parent 1ef8c0e12f
commit 5b78ad2d53
3 changed files with 10 additions and 10 deletions

View File

@ -116,7 +116,7 @@ int Settings_write(const Settings* this, bool onCrash);
Settings* Settings_new(unsigned int initialCpuCount, Hashtable* dynamicColumns);
ScreenSettings* Settings_newScreen(Settings* this, const char* name, const char* line);
ScreenSettings* Settings_newScreen(Settings* this, const ScreenDefaults* defaults);
void ScreenSettings_delete(ScreenSettings* this);