Skip to content

Commit

Permalink
Correction of 5630: no need to call the sorting plugin in the "Unsort…
Browse files Browse the repository at this point in the history
…ed" mode
  • Loading branch information
alabuzhev committed Jun 9, 2021
1 parent 67d1e6f commit e3788cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions far/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
--------------------------------------------------------------------------------
drkns 09.06.2021 22:54:58 +0100 - build 5817

1. Correction of 5630: no need to call the sorting plugin in the "Unsorted" mode.

--------------------------------------------------------------------------------
drkns 07.06.2021 23:54:29 +0100 - build 5816

Expand Down
2 changes: 1 addition & 1 deletion far/filelist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ class list_less
)
return Item1.SortGroup < Item2.SortGroup;

if (m_SortPlugin)
if (m_SortPlugin && m_ListSortMode != panel_sort::UNSORTED)
{
const auto& [a, b] = m_Reverse? std::tie(Item2, Item1) : std::tie(Item1, Item2);

Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5816
5817

0 comments on commit e3788cb

Please sign in to comment.