From dbacc98a1dc6d25cf91aa3d63d08973437e4253d Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 10 Oct 2017 21:13:37 +0300 Subject: [PATCH] Qt4: Fix wrong condition in search blocking --- win/Qt4/qt4menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/Qt4/qt4menu.cpp b/win/Qt4/qt4menu.cpp index 5bfefd3b5..5ab053891 100644 --- a/win/Qt4/qt4menu.cpp +++ b/win/Qt4/qt4menu.cpp @@ -541,7 +541,7 @@ void NetHackQtMenuWindow::Invert() } void NetHackQtMenuWindow::Search() { - if (how != PICK_NONE) + if (how == PICK_NONE) return; NetHackQtStringRequestor requestor(this, "Search for:"); -- 2.50.1