Do not start prompt with the current search constraint when applying a new one

This commit is contained in:
Andrzej Rybczak
2017-10-11 19:34:30 +02:00
parent 464fd318c3
commit fa9838efb2
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -3,6 +3,7 @@ ncmpcpp-0.8.1 (????-??-??)
* Using '--quiet' command line argument no longer results in a crash.
* If songs in media library have no track numbers, sort them by their display format.
* Fixed a situation in which songs added to playlist from media library or playlist editor screens would not be immediately marked as such.
* Do not start prompt with the current search constraint when applying a new one.
ncmpcpp-0.8 (2017-05-21)
* Configuration variable 'execute_on_player_state_change' was added.

View File

@@ -3020,7 +3020,7 @@ void findItem(const SearchDirection direction)
assert(w != nullptr);
assert(w->allowsSearching());
std::string constraint = w->searchConstraint();
std::string constraint;
try
{
ScopedValue<bool> disabled_autocenter_mode(Config.autocenter_mode, false);