mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 13:24:27 +01:00
...
This commit is contained in:
parent
63cac76d80
commit
34f48e00d2
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ def create_dock(title, name, area, areas=Qt.LeftDockWidgetArea | Qt.RightDockWid
|
|||
self.toc_container = w = QWidget(self)
|
||||
w.l = QVBoxLayout(w)
|
||||
self.toc = TOCView(w)
|
||||
self.toc.pressed[QModelIndex].connect(self.toc_clicked)
|
||||
self.toc.clicked[QModelIndex].connect(self.toc_clicked)
|
||||
self.toc.searched.connect(self.toc_searched)
|
||||
self.toc_search = TOCSearch(self.toc, parent=w)
|
||||
w.l.addWidget(self.toc), w.l.addWidget(self.toc_search), w.l.setContentsMargins(0, 0, 0, 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue