Commit a5b2dca3 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.formeditor: do not change back to base state (drag n drop)

The activation of the drag tool should not activate the base state
this is discussed in Bauhaus-600
parent 3c878822
......@@ -285,7 +285,6 @@ void FormEditorView::changeToDragTool()
scene()->setPaintMode(FormEditorScene::NormalMode);
m_scene->updateAllFormEditorItems();
setCursor(Qt::ArrowCursor);
setCurrentState(baseState());
m_currentTool->clear();
m_currentTool = m_dragTool;
m_currentTool->clear();
......@@ -330,7 +329,6 @@ void FormEditorView::changeToItemCreatorTool()
scene()->setPaintMode(FormEditorScene::NormalMode);
m_scene->updateAllFormEditorItems();
setCursor(Qt::CrossCursor);
setCurrentState(baseState());
m_currentTool->clear();
m_currentTool = m_itemCreatorTool;
m_currentTool->clear();
......
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