mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
63cac76d80
commit
34f48e00d2
@ -64,7 +64,7 @@ class EbookViewer(MainWindow):
|
||||
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…
x
Reference in New Issue
Block a user