mirror of
https://github.com/leozide/leocad
synced 2025-02-07 08:45:49 +01:00
Set focus to the view after dropping a piece from the list.
This commit is contained in:
parent
3be01c0748
commit
eae840d891
1 changed files with 1 additions and 0 deletions
|
@ -387,6 +387,7 @@ void lcQGLWidget::dropEvent(QDropEvent *event)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
((View*)widget)->EndPieceDrag(true);
|
((View*)widget)->EndPieceDrag(true);
|
||||||
|
setFocus(Qt::MouseFocusReason);
|
||||||
|
|
||||||
event->accept();
|
event->accept();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue