Enable full sorting of items in the local browser if it's not
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
* Consider mouse support when pausing and unpausing curses interface.
|
||||
* Reduce CPU usage of the frequency spectrum visualizer.
|
||||
* Enable Link Time Optimization by default.
|
||||
* Enable full sorting of items in the local browser if it's not.
|
||||
|
||||
# ncmpcpp-0.9 (2020-12-20)
|
||||
* Fix various Mopidy specific bugs.
|
||||
|
||||
@@ -498,7 +498,15 @@ void Browser::getDirectory(std::string directory)
|
||||
}
|
||||
|
||||
if (m_local_browser)
|
||||
{
|
||||
getLocalDirectory(w, directory);
|
||||
if (Config.browser_sort_mode == SortMode::None
|
||||
|| Config.browser_sort_mode == SortMode::Type)
|
||||
{
|
||||
Statusbar::print("Switching to sorting songs by name for the local browser");
|
||||
Config.browser_sort_mode = SortMode::Name;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
MPD::ItemIterator end;
|
||||
|
||||
Reference in New Issue
Block a user