Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

status: pass mouse moves to QTreeView

This makes drag-selection functional again... until the timer fires
of course.

Changeset e6c3c3b4de13

Parent 3b7523fefcb0

by Steve Borho

Changes to one file · Browse files at e6c3c3b4de13 Showing diff from parent 3b7523fefcb0 Diff from another changeset...

 
400
401
402
403
 
404
405
406
 
407
408
409
 
400
401
402
 
403
404
405
 
406
407
408
409
@@ -400,10 +400,10 @@
  def mouseMoveEvent(self, event):   d = event.pos() - self.pressPos   if d.manhattanLength() < QApplication.startDragDistance(): - return + return QTreeView.mouseMoveEvent(self, event)   elapsed = self.pressTime.msecsTo(QTime.currentTime())   if elapsed < QApplication.startDragTime(): - return + return QTreeView.mouseMoveEvent(self, event)   self.dragObject()   return QTreeView.mouseMoveEvent(self, event)