From 4768cf2e2c33016872bc2b8cd3e8a0ce1bd9bb70 Mon Sep 17 00:00:00 2001 From: Michael Haeckel Date: Sat, 24 Feb 2001 10:20:10 +0000 Subject: [PATCH] Don't allow to unselect a message. Drag and drop, ... doesn't work otherwise correctely. Introduced by a recent change. svn path=/trunk/kdenetwork/kmail/; revision=84165 --- kmheaders.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmheaders.cpp b/kmheaders.cpp index 8531ce405..1c91b0621 100644 --- a/kmheaders.cpp +++ b/kmheaders.cpp @@ -2025,8 +2025,8 @@ void KMHeaders::contentsMousePressEvent(QMouseEvent* e) mousePressed = TRUE; if (!(lvi->isSelected())) { clearSelection(); + KMHeadersInherited::contentsMousePressEvent(e); } - KMHeadersInherited::contentsMousePressEvent(e); } else if ((e->button() == LeftButton) && (e->state() & ShiftButton)) { if (!shiftSelection( beginSelection, lvi ))