Qt4: Fix wrong condition in search blocking

This commit is contained in:
Pasi Kallinen
2017-10-10 21:13:37 +03:00
parent 257f17f8df
commit dbacc98a1d

View File

@@ -541,7 +541,7 @@ void NetHackQtMenuWindow::Invert()
}
void NetHackQtMenuWindow::Search()
{
if (how != PICK_NONE)
if (how == PICK_NONE)
return;
NetHackQtStringRequestor requestor(this, "Search for:");