forked from qt-creator/qt-creator
QmlDesigner.formEditor: no focus on enter event
Reviewed-by: Marco Bubke Task-number: QTCREATORBUG-4820
This commit is contained in:
@@ -172,12 +172,6 @@ FormEditorWidget::FormEditorWidget(FormEditorView *view)
|
|||||||
m_toolBox->addRightSideAction(m_resetAction.data());
|
m_toolBox->addRightSideAction(m_resetAction.data());
|
||||||
}
|
}
|
||||||
|
|
||||||
void FormEditorWidget::enterEvent(QEvent *event)
|
|
||||||
{
|
|
||||||
m_graphicsView->setFocus();
|
|
||||||
QWidget::enterEvent(event);
|
|
||||||
}
|
|
||||||
|
|
||||||
void FormEditorWidget::changeTransformTool(bool checked)
|
void FormEditorWidget::changeTransformTool(bool checked)
|
||||||
{
|
{
|
||||||
if (checked)
|
if (checked)
|
||||||
|
@@ -84,7 +84,6 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void enterEvent(QEvent *event);
|
|
||||||
void wheelEvent(QWheelEvent *event);
|
void wheelEvent(QWheelEvent *event);
|
||||||
QActionGroup *toolActionGroup() const;
|
QActionGroup *toolActionGroup() const;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user