Commit 040f2e0b authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.formEditor: no focus on enter event

Reviewed-by: Marco Bubke
Task-number: QTCREATORBUG-4820
parent ab0bad2e
......@@ -172,12 +172,6 @@ FormEditorWidget::FormEditorWidget(FormEditorView *view)
m_toolBox->addRightSideAction(m_resetAction.data());
}
void FormEditorWidget::enterEvent(QEvent *event)
{
m_graphicsView->setFocus();
QWidget::enterEvent(event);
}
void FormEditorWidget::changeTransformTool(bool checked)
{
if (checked)
......
......@@ -84,7 +84,6 @@ public:
protected:
void enterEvent(QEvent *event);
void wheelEvent(QWheelEvent *event);
QActionGroup *toolActionGroup() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment