Skip to content

Commit

Permalink
Merge pull request H-uru#1630 from Hoikas/fix_1629
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoikas authored Nov 15, 2024
2 parents 801d482 + d75641d commit 5cdc425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/Python/xLinkingBookGUIPopup.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@ def IShowBookNoTreasure(self):
gLinkingBook = ptBook(bookdef,self.key)
gLinkingBook.setSize( width, height )
# make sure there is a cover to show
if showOpen and not self.IsThereACover(bookdef):
showOpen = 0
if not showOpen and not self.IsThereACover(bookdef):
showOpen = 1
gLinkingBook.setGUI(gui)
gLinkingBook.show(showOpen)
except LookupError:
Expand Down

0 comments on commit 5cdc425

Please sign in to comment.