diff --git a/libs/qsynedit/qsynedit/qsynedit.cpp b/libs/qsynedit/qsynedit/qsynedit.cpp index f350492e..6742fa49 100644 --- a/libs/qsynedit/qsynedit/qsynedit.cpp +++ b/libs/qsynedit/qsynedit/qsynedit.cpp @@ -5876,8 +5876,10 @@ bool QSynEdit::isCaretVisible() void QSynEdit::paintEvent(QPaintEvent *event) { - if (mPainting) + if (mPainting) { + qDebug()<<"painting!"; return; + } mPainting = true; auto action = finally([&,this] { mPainting = false;