changeset 133:18391ebe137b

Added updateImages method to CharacterGUI.
author KarstenBock@gmx.net
date Sat, 08 Oct 2011 14:19:11 +0200
parents e2ccd64f3a86
children 73b7188a461d
files gui/inventorygui.py
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/inventorygui.py	Sat Oct 08 14:18:16 2011 +0200
+++ b/gui/inventorygui.py	Sat Oct 08 14:19:11 2011 +0200
@@ -285,10 +285,13 @@
         else:
             self.closeInventory()
             self.inventory_shown = False
+            
+    def updateImages(self):
+        self.equip_gui.updateImages()
+        self.inv_gui.updateImages()
     
     def showInventory(self):
-        self.equip_gui.updateImages()
-        self.inv_gui.updateImages()
+        self.updateImages()
         self.gui.show()
     
     def closeInventory(self):