diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp
index 6273cdd4615d4ae453b3625a953524b4e1185836..afdec68f2b5e9c8ae5bade4fcae28ac26aad32ae 100644
--- a/src/plugins/fakevim/fakevimplugin.cpp
+++ b/src/plugins/fakevim/fakevimplugin.cpp
@@ -1005,10 +1005,10 @@ void FakeVimPluginPrivate::handleExCommand(bool *handled, const ExCommand &cmd)
         } else if (cmd.args == "ic" || cmd.args == "ignorecase") {
             // :set noic
             setActionChecked(Find::Constants::CASE_SENSITIVE, false);
-            *handled = false; // Let the handler see it as well.
         } else if (cmd.args == "noic" || cmd.args == "noignorecase") {
             // :set noic
             setActionChecked(Find::Constants::CASE_SENSITIVE, true);
+        } else {
             *handled = false; // Let the handler see it as well.
         }
     } else if (cmd.matches("n", "next")) {