aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scatterplot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scatterplot.cpp b/scatterplot.cpp
index d8a2bfa..47009ae 100644
--- a/scatterplot.cpp
+++ b/scatterplot.cpp
@@ -641,7 +641,7 @@ void Scatterplot::mouseReleaseEvent(QMouseEvent *event)
case STATE_BRUSHING:
// Mouse clicked with brush target; set new selection or append to
// current
- if (m_brushedItem == -1 || !mergeSelection) {
+ if (!mergeSelection) {
m_selection.assign(m_selection.size(), false);
}
if (m_brushedItem == -1) {