Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable resovlve: fix file drag behavior (closes #160)

Changeset c1347a5cac8a

Parent 5bf7eb26713e

by Steve Borho

Changes to one file · Browse files at c1347a5cac8a Showing diff from parent 5bf7eb26713e Diff from another changeset...

 
330
331
332
333
334
 
335
336
 
337
338
339
 
330
331
332
 
 
333
334
 
335
336
337
338
@@ -330,10 +330,9 @@
  def dragObject(self):   urls = []   for index in self.selectionModel().selectedRows(): - index = index.sibling(index.row(), COL_PATH) - path = index.data(Qt.DisplayRole).toString() + root, path = self.model().getPathForIndex(index)   u = QUrl() - u.setPath('file://' + os.path.join(self.repo.root, path)) + u.setPath('file://' + os.path.join(root, path))   urls.append(u)   if urls:   d = QDrag(self)