Commit 779d5d42 authored by Lasse Holmstedt's avatar Lasse Holmstedt Committed by Olivier Goffart
Browse files

clear highlight when not in design mode

parent e1c3c08c
...@@ -89,6 +89,7 @@ void QDeclarativeDesignView::mousePressEvent(QMouseEvent *event) ...@@ -89,6 +89,7 @@ void QDeclarativeDesignView::mousePressEvent(QMouseEvent *event)
void QDeclarativeDesignView::mouseMoveEvent(QMouseEvent *event) void QDeclarativeDesignView::mouseMoveEvent(QMouseEvent *event)
{ {
if (!designModeBehavior()) { if (!designModeBehavior()) {
clearHighlight();
QDeclarativeView::mouseMoveEvent(event); QDeclarativeView::mouseMoveEvent(event);
return; return;
} }
......
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