`KeyFilter::autoClose()` at end-of-line
Closed this issue · 1 comments
fairybow commented
KeyFilter::autoClose()
at end-of-line CTD (access violation reading location, probably nullptr
/ QChar()
)
It's an interaction between the above and QPlainTextEdit::centerCursor()
(used for typewriter positioning)
Tentatively, this has been fixed by blocking signals here:
void PlainTextEdit::keyPresses(QVector<QKeyEvent*> events)
{
blockSignals(true);
for (auto& event : events)
QPlainTextEdit::keyPressEvent(event);
blockSignals(false);
}