mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Commit for merging into the 'device' branch
This commit is contained in:
parent
27eca8fe72
commit
e3c9ebf283
@ -126,7 +126,6 @@ class TagTreeItem(object):
|
|||||||
TAG = 1
|
TAG = 1
|
||||||
ROOT = 2
|
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):
|
def __init__(self, data=None, category_icon=None, icon_map=None, parent=None):
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
self.children = []
|
self.children = []
|
||||||
|
@ -650,6 +650,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
|
|||||||
v.resizeRowToContents(0)
|
v.resizeRowToContents(0)
|
||||||
height = v.rowHeight(0)
|
height = v.rowHeight(0)
|
||||||
self.library_view.verticalHeader().setDefaultSectionSize(height)
|
self.library_view.verticalHeader().setDefaultSectionSize(height)
|
||||||
|
print datetime.now()
|
||||||
|
|
||||||
def do_edit_categories(self):
|
def do_edit_categories(self):
|
||||||
d = TagCategories(self, self.library_view.model().db)
|
d = TagCategories(self, self.library_view.model().db)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user