Commit for merging into the 'device' branch

This commit is contained in:
Charles Haley 2010-04-19 18:40:04 +01:00
parent 27eca8fe72
commit e3c9ebf283
2 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,6 @@ class TagTreeItem(object):
TAG = 1
ROOT = 2
# def __init__(self, data=None, tag=None, category_icon=None, icon_map=None, parent=None):
def __init__(self, data=None, category_icon=None, icon_map=None, parent=None):
self.parent = parent
self.children = []

View File

@ -650,6 +650,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
v.resizeRowToContents(0)
height = v.rowHeight(0)
self.library_view.verticalHeader().setDefaultSectionSize(height)
print datetime.now()
def do_edit_categories(self):
d = TagCategories(self, self.library_view.model().db)