diff src/parpg/gui/inventorygui.py @ 163:50c248656348

Added updateImages method to CharacterGUI.
author KarstenBock@gmx.net
date Sat, 08 Oct 2011 14:19:11 +0200
parents 2ba7c6d8f738
children 6d07093e9d51
line wrap: on
line diff
--- a/src/parpg/gui/inventorygui.py	Sat Oct 08 14:18:16 2011 +0200
+++ b/src/parpg/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):