clear highlight when not in design mode

This commit is contained in:
Lasse Holmstedt
2010-07-14 15:14:58 +02:00
committed by Olivier Goffart
parent e1c3c08c15
commit 779d5d42c9

View File

@@ -89,6 +89,7 @@ void QDeclarativeDesignView::mousePressEvent(QMouseEvent *event)
void QDeclarativeDesignView::mouseMoveEvent(QMouseEvent *event)
{
if (!designModeBehavior()) {
clearHighlight();
QDeclarativeView::mouseMoveEvent(event);
return;
}