mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Restore cursor after making empty selection. (#1714)
This commit is contained in:
parent
f50fecc57b
commit
cd2dbc4a29
@ -442,8 +442,10 @@ void HexWidget::mousePressEvent(QMouseEvent *event)
|
||||
void HexWidget::mouseReleaseEvent(QMouseEvent *event)
|
||||
{
|
||||
if (event->button() == Qt::LeftButton) {
|
||||
if (selection.isEmpty())
|
||||
if (selection.isEmpty()) {
|
||||
selection.init(cursor.address);
|
||||
cursorEnabled = true;
|
||||
}
|
||||
updatingSelection = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user