Partial key sequence match no longer propagates the event
This commit is contained in:
parent
2007d04812
commit
93361f0edb
@ -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<unsigned __int16>(m_ks_db.idxKey[start].seq_len, m_seq.size())) == 0)
|
ZRCola::keyseq_db::keyseq::CompareSequence(m_seq.data(), m_seq.size(), m_ks_db.idxKey[start].seq, std::min<unsigned __int16>(m_ks_db.idxKey[start].seq_len, m_seq.size())) == 0)
|
||||||
{
|
{
|
||||||
// The sequence is a partial match. Continue watching.
|
// The sequence is a partial match. Continue watching.
|
||||||
//event.StopPropagation();
|
event.StopPropagation();
|
||||||
//return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
// The key sequence has no future chance to match. Start all over again.
|
// The key sequence has no future chance to match. Start all over again.
|
||||||
m_seq.clear();
|
m_seq.clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user