diff gui/hud.py @ 107:100a39fa64a2

Added ExamineContentsAction. Added "Examine Contents" to the context menu, when the object is a container and does not have a characterstats component.
author KarstenBock@gmx.net
date Fri, 30 Sep 2011 15:31:53 +0200
parents d0b600d7136c
children 2399a8c3da0c
line wrap: on
line diff
--- a/gui/hud.py	Fri Sep 30 15:08:53 2011 +0200
+++ b/gui/hud.py	Fri Sep 30 15:31:53 2011 +0200
@@ -478,11 +478,6 @@
            @return: None"""
         if self.box_container:
             self.box_container.hideContainer()
-            #TODO: Move the close() call into OpenBoxAction(). This can be done 
-            # after createBoxGUI becomes a blocking call or it's otherwise
-            # possible to wait till the box GUI is closed.
-            if self.box_container.container.trueAttr("openable"):
-                self.box_container.container.close()
             self.box_container = None
 
     def createExamineBox(self, title, desc):