diff --git a/NEWS.md b/NEWS.md index 5abd5aab..b7b9822d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,7 @@ Red Panda C++ Version 2.22 - fix: Crash at startup when current problem in the problem set is connected with source file. + - fix: Double-clicking on touchpad can't select current word. Red Panda C++ Version 2.21 diff --git a/libs/qsynedit/qsynedit/qsynedit.cpp b/libs/qsynedit/qsynedit/qsynedit.cpp index bde4a5b6..108e977e 100644 --- a/libs/qsynedit/qsynedit/qsynedit.cpp +++ b/libs/qsynedit/qsynedit/qsynedit.cpp @@ -1748,6 +1748,8 @@ void QSynEdit::doMouseScroll(bool isDragging) mDropped=false; return; } + if (mStateFlags.testFlag(StateFlag::sfDblClicked)) + return; if (!hasFocus()) return; Qt::MouseButtons buttons = qApp->mouseButtons();