forked from qt-creator/qt-creator
QmlDesigner: Change focus to 3D view on drop
Fixes: QDS-8830 Change-Id: Iaeff4768fbc4bd37223bccce72e40234752cad40 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -450,6 +450,7 @@ void Edit3DWidget::dragEnterEvent(QDragEnterEvent *dragEnterEvent)
|
||||
void Edit3DWidget::dropEvent(QDropEvent *dropEvent)
|
||||
{
|
||||
dropEvent->accept();
|
||||
setFocus();
|
||||
const QPointF pos = m_canvas->mapFrom(this, dropEvent->position());
|
||||
|
||||
// handle dropping materials and textures
|
||||
|
||||
Reference in New Issue
Block a user