Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
1b04e490
Commit
1b04e490
authored
Mar 31, 2010
by
Marco Bubke
Committed by
Kai Koehne
Mar 31, 2010
Browse files
Fix that feedback pane is shown on drag and drop from the item libarary
Reviewed-by: Thomas Hartmann Task-Number: BAUHAUS-536
parent
38151c29
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/formeditor/dragtool.cpp
View file @
1b04e490
...
...
@@ -213,6 +213,7 @@ void DragTool::dragEnterEvent(QGraphicsSceneDragDropEvent * event)
if
(
event
->
mimeData
()
->
hasFormat
(
"application/vnd.bauhaus.itemlibraryinfo"
)
||
event
->
mimeData
()
->
hasFormat
(
"application/vnd.bauhaus.libraryresource"
))
{
if
(
!
m_rewriterTransaction
.
isValid
())
{
view
()
->
clearSelectedModelNodes
();
m_rewriterTransaction
=
view
()
->
beginRewriterTransaction
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment