Skip to content

Commit 09d950d

Browse files
author
Guilherme Costa
committed
filesPage.py: remove unused lines of code
Signed-off-by: Guilherme Costa <guiherme.costa@blockstec.com>
1 parent 3f02852 commit 09d950d

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎BlocksScreen/lib/panels/widgets/filesPage.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,6 @@ def _handle_scrollbar(self, value):
270270
self.scrollbar.blockSignals(False)
271271

272272
def _setup_scrollbar(self) -> None:
273-
idx = self.model.index(0, 0)
274-
275-
rect = self.listWidget.rectForIndex(idx)
276273
self.scrollbar.setMinimum(
277274
self.listWidget.verticalScrollBar().minimum()
278275
)

0 commit comments

Comments
 (0)