mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-06 00:23:58 +00:00
Multi-select and drag+drop broken for new file tree (PICARD-246)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user