From d75641de71397515690c847f4af977b27959ff34 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 15 Nov 2024 17:16:22 -0500 Subject: [PATCH] Fix #1629. --- Scripts/Python/xLinkingBookGUIPopup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/Python/xLinkingBookGUIPopup.py b/Scripts/Python/xLinkingBookGUIPopup.py index a886801570..8f6a081b1b 100644 --- a/Scripts/Python/xLinkingBookGUIPopup.py +++ b/Scripts/Python/xLinkingBookGUIPopup.py @@ -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: