mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Add fix to Scintilla to ensure mouse tracking is restored on show
* See: https://sourceforge.net/p/scintilla/bugs/1948/
This commit is contained in:
@@ -132,6 +132,9 @@ bool ScintillaEditBase::event(QEvent *event)
|
||||
// Circumvent the tab focus convention.
|
||||
keyPressEvent(static_cast<QKeyEvent *>(event));
|
||||
result = event->isAccepted();
|
||||
} else if (event->type() == QEvent::Show) {
|
||||
setMouseTracking(true);
|
||||
result = QAbstractScrollArea::event(event);
|
||||
} else if (event->type() == QEvent::Hide) {
|
||||
setMouseTracking(false);
|
||||
result = QAbstractScrollArea::event(event);
|
||||
|
||||
Reference in New Issue
Block a user