forked from qt-creator/qt-creator
QmlDesigner: FormEditorToolButton needs Arrow curser
Since the selection and move behaivour changed and the label is now a move gizmo, the FormEditorToolButton needs an explicit arrow cursor. Change-Id: I10eb37dab39160e6854dfc57d206f6f5f1c2bc68 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -52,6 +52,7 @@ FormEditorToolButton::FormEditorToolButton(QAction *action, QGraphicsItem *paren
|
||||
|
||||
setEnabled(m_action->isEnabled());
|
||||
setVisible(m_action->isVisible());
|
||||
setCursor(Qt::ArrowCursor);
|
||||
}
|
||||
|
||||
void FormEditorToolButton::paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *)
|
||||
|
Reference in New Issue
Block a user