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: