mirror of
https://github.com/leozide/leocad
synced 2025-01-30 20:34:56 +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;
|
||||
|
||||
((View*)widget)->EndPieceDrag(true);
|
||||
setFocus(Qt::MouseFocusReason);
|
||||
|
||||
event->accept();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue