Skip to content

Commit

Permalink
very small bug fix
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Daniel Reis <[email protected]>
  • Loading branch information
veryprofessionaldodo committed Oct 22, 2021
1 parent c6c9b87 commit 28569cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion photobash_images/photobash_images_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def updateImages(self):
# so it starts at 1
self.layout.paginationLabel.setText(f"Page: {currPage}/{str(maxNumPage)}")
# correction since array begins at 0
self.layout.paginationSlider.setMaximum(maxNumPage - 1)
self.layout.paginationSlider.setRange(0, maxNumPage - 1)
self.layout.paginationSlider.setSliderPosition(self.currPage)

def addImageLayer(self, photoPath):
Expand Down

0 comments on commit 28569cb

Please sign in to comment.