Multi-select and drag+drop broken for new file tree (PICARD-246)

This commit is contained in:
Michael Wiencek
2012-08-17 01:27:41 -05:00
parent d31b4344c1
commit f27219ff9a

View File

@@ -78,12 +78,6 @@ class FileBrowser(QtGui.QTreeView):
self.scrollTo(self.currentIndex())
QtCore.QTimer.singleShot(0, scroll)
def mousePressEvent(self, event):
index = self.indexAt(event.pos())
if index.isValid():
self.setCurrentIndex(index)
return QtGui.QTreeView.mousePressEvent(self, event)
def show_hidden(self, state):
self.config.persist["show_hidden_files"] = state
self._set_model_filter()