mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-01 13:23:18 +02:00
...
This commit is contained in:
parent
3631dceebb
commit
7bf888bd61
1 changed files with 2 additions and 2 deletions
|
|
@ -57,9 +57,9 @@ def __exit__(self, *args):
|
|||
self.view.select_rows(self.selected_ids, using_ids=True,
|
||||
scroll=False, change_current=self.current_id is None)
|
||||
if self.preserve_vpos:
|
||||
self.verticalScrollBar().setValue(self.vscroll)
|
||||
self.view.verticalScrollBar().setValue(self.vscroll)
|
||||
if self.preserve_hpos:
|
||||
self.horizontalScrollBar().setValue(self.hscroll)
|
||||
self.view.horizontalScrollBar().setValue(self.hscroll)
|
||||
# }}}
|
||||
|
||||
class BooksView(QTableView): # {{{
|
||||
|
|
|
|||
Loading…
Reference in a new issue