Start a new local selection immediately when clicking after selecting globally
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 20 Aug 2008 14:11:13 +0000 (16:11 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 20 Aug 2008 14:11:13 +0000 (16:11 +0200)
src/qtui/chatscene.cpp

index 05d26c5..3b01d0d 100644 (file)
@@ -298,7 +298,7 @@ void ChatScene::mousePressEvent(QGraphicsSceneMouseEvent *event) {
       _lines[l]->setSelected(false);
     }
     _selectionStart = -1;
-    event->accept();
+    QGraphicsScene::mousePressEvent(event);  // so we can start a new local selection
   } else {
     QGraphicsScene::mousePressEvent(event);
   }