Skip to content

Commit

Permalink
2.0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
noembryo committed Aug 11, 2024
1 parent f8c77d5 commit 03ccacc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@


__author__ = "noEmbryo"
__version__ = "2.0.3.0"
__version__ = "2.0.4.0"


class Base(QMainWindow, Ui_Base):
Expand Down Expand Up @@ -2510,7 +2510,7 @@ def merge_new_highs(items):
annots.append(new_bkm)
info[0].clear() # repopulate the annotations
annots_upd = {}
for i, hi in enumerate(sorted(annots, key=lambda x: x["pageno"])):
for i, hi in enumerate(sorted(annots, key=lambda x: int(x["pageno"]))):
annots_upd[i + 1] = hi
info[0].update(annots_upd)

Expand Down

0 comments on commit 03ccacc

Please sign in to comment.