fairybow/Fernanda

`KeyFilter::autoClose()` at end-of-line

Closed this issue · 1 comments

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);
}

052b7ff

Keeping an eye on it for the moment, though!