mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
Fixed infinite recursion in OverviewView (#1144)
It was calling itself at the end of the function instead of calling the parent's mousePressEvent function.
This commit is contained in:
parent
e246a8a9d3
commit
8c6db6e3bb
@ -88,7 +88,7 @@ void OverviewView::mousePressEvent(QMouseEvent *event)
|
||||
rangeRect = QRectF(x, y, w, h);
|
||||
viewport()->update();
|
||||
emit mouseMoved();
|
||||
mousePressEvent(event);
|
||||
GraphView::mousePressEvent(event);
|
||||
}
|
||||
|
||||
void OverviewView::mouseReleaseEvent(QMouseEvent *event)
|
||||
|
Loading…
Reference in New Issue
Block a user