Auto expand when dropping onto Tag Browser. Only seems to work for Searches node and I dont have the time to figure out why

This commit is contained in:
Kovid Goyal 2010-10-14 08:36:10 -06:00
parent 05cda6b7f9
commit 5523da3dde

View File

@ -84,6 +84,7 @@ class TagsView(QTreeView): # {{{
self.setAcceptDrops(True) self.setAcceptDrops(True)
self.setDragDropMode(self.DropOnly) self.setDragDropMode(self.DropOnly)
self.setDropIndicatorShown(True) self.setDropIndicatorShown(True)
self.setAutoExpandDelay(500)
def set_database(self, db, tag_match, sort_by): def set_database(self, db, tag_match, sort_by):
self.hidden_categories = config['tag_browser_hidden_categories'] self.hidden_categories = config['tag_browser_hidden_categories']