1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 06:37:17 +00:00

Fix computing and setting offset to 0 for tableview

This commit is contained in:
glubsy
2020-07-15 21:43:01 +02:00
parent 85d6e05cd4
commit 3c816b2f11
2 changed files with 2 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ class DetailsDialog(DetailsDialogBase):
* self.tableModel.model.row_count()
+ self.tableView.verticalHeader().sectionSize(0)
# Windows seems to add a few pixels more to the table somehow
+ 5 if ISWINDOWS else 0)
+ (5 if ISWINDOWS else 0))
DetailsDialogBase.show(self)
self.ensure_same_sizes()
self._update()