Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
sort groups active only with name/ext sort mode, as before
  • Loading branch information
alabuzhev committed Oct 25, 2017
1 parent d583d60 commit 2c364ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions far/changelog
@@ -1,3 +1,7 @@
drkns 25.10.2017 22:37:34 +0100 - build 5074

1. Группы сортировки работают только в режимах по имени и расширению, как раньше.

drkns 25.10.2017 19:02:49 +0100 - build 5073

1. Уточнение 5071 - OEM CP по умолчанию.
Expand Down
3 changes: 1 addition & 2 deletions far/filelist.cpp
Expand Up @@ -520,8 +520,7 @@ class list_less
return Item1.Selected > Item2.Selected;

if (ListSortGroups &&
// Controversial decision. Configuration?
// (ListSortMode == panel_sort::BY_NAME || ListSortMode == panel_sort::BY_EXT || ListSortMode == panel_sort::BY_FULLNAME) &&
(ListSortMode == panel_sort::BY_NAME || ListSortMode == panel_sort::BY_EXT || ListSortMode == panel_sort::BY_FULLNAME) &&
Item1.SortGroup != Item2.SortGroup
)
return Item1.SortGroup < Item2.SortGroup;
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,5073)m4_dnl
m4_define(BUILD,5074)m4_dnl

0 comments on commit 2c364ae

Please sign in to comment.