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

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);