aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-02-09 13:08:19 -0200
committerSamuel Fadel <samuelfadel@gmail.com>2016-02-09 13:08:19 -0200
commite2653b8b0ff84b277b1e42fcb45acc608b87a385 (patch)
tree190c20293e60f20e25a8e80491465ac4e8133493
parent1645f11fa28fc65d4567c93d9da02e90d9aa25d6 (diff)
Scatterplot: brushing while merging is now more forgiving w.r.t. mistakes.
-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) {