diff --git a/ZRCola/zrcolakeyhndlr.cpp b/ZRCola/zrcolakeyhndlr.cpp index b932f11..eee22f7 100644 --- a/ZRCola/zrcolakeyhndlr.cpp +++ b/ZRCola/zrcolakeyhndlr.cpp @@ -95,8 +95,8 @@ bool wxZRColaKeyHandler::ProcessEvent(wxEvent& event) ZRCola::keyseq_db::keyseq::CompareSequence(m_seq.data(), m_seq.size(), m_ks_db.idxKey[start].seq, std::min(m_ks_db.idxKey[start].seq_len, m_seq.size())) == 0) { // The sequence is a partial match. Continue watching. - //event.StopPropagation(); - //return true; + event.StopPropagation(); + return true; } else { // The key sequence has no future chance to match. Start all over again. m_seq.clear();