Ignore:
Timestamp:
09/08/09 00:39:15 (10 years ago)
Author:
orlandov
Message:

Ticket #79: Move the container display and examine popup code from World to Hud

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/popups.py

    r267 r277  
    114114        @return: None 
    115115        """ 
    116         self.container_gui.hide() 
     116        if self.container_gui.isVisible(): 
     117            self.container_gui.hide() 
    117118         
    118119    def setMouseCursor(self, image, dummy_image, type = "native"):  
     
    277278 
    278279    def closePopUp(self): 
    279         self.examineWindow.hide() 
     280        if self.examineWindow.isVisible(): 
     281            self.examineWindow.hide() 
    280282     
    281283    def showPopUp(self): 
Note: See TracChangeset for help on using the changeset viewer.