Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KKyang committed Oct 26, 2015
1 parent 68a0f3e commit f56d6e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qsmartgraphicsview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ void QSmartGraphicsView::mouseReleaseEvent(QMouseEvent *event)
else if(event->button() == Qt::LeftButton && this->dragMode() == QGraphicsView::RubberBandDrag)
{
is_item = false;
if(event->pos() == select_start)
rubberBand->hide();

this->setDragMode(QGraphicsView::NoDrag);
}
#endif
Expand Down

0 comments on commit f56d6e2

Please sign in to comment.