Fix disable selection when you click outside

This commit is contained in:
lupoDharkael
2017-08-16 14:36:17 +02:00
parent 6cefead0fc
commit b6c1b8f047

View File

@@ -224,6 +224,7 @@ void CaptureWidget::mousePressEvent(QMouseEvent *e) {
m_newSelection = true;
m_selection = QRect();
m_buttonHandler->hide();
update();
} else {
m_grabbing = true;
}