changeset 163:50c248656348

Added updateImages method to CharacterGUI.
author KarstenBock@gmx.net
date Sat, 08 Oct 2011 14:19:11 +0200
parents 79c186b69603
children ede6f6b31bf8
files src/parpg/gui/inventorygui.py
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
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):