- fix: Double-clicking on touchpad can't select current word.
This commit is contained in:
parent
6736524380
commit
2114206e76
1
NEWS.md
1
NEWS.md
|
@ -1,6 +1,7 @@
|
||||||
Red Panda C++ Version 2.22
|
Red Panda C++ Version 2.22
|
||||||
|
|
||||||
- fix: Crash at startup when current problem in the problem set is connected with source file.
|
- 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
|
Red Panda C++ Version 2.21
|
||||||
|
|
||||||
|
|
|
@ -1748,6 +1748,8 @@ void QSynEdit::doMouseScroll(bool isDragging)
|
||||||
mDropped=false;
|
mDropped=false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (mStateFlags.testFlag(StateFlag::sfDblClicked))
|
||||||
|
return;
|
||||||
if (!hasFocus())
|
if (!hasFocus())
|
||||||
return;
|
return;
|
||||||
Qt::MouseButtons buttons = qApp->mouseButtons();
|
Qt::MouseButtons buttons = qApp->mouseButtons();
|
||||||
|
|
Loading…
Reference in New Issue