FIX: Ensure belt window is displayed above other windows when inventory is opened
This commit is contained in:
@@ -108,6 +108,8 @@ class BeltInventoryWindow(ui.ScriptWindow):
|
||||
|
||||
ui.ScriptWindow.__init__(self)
|
||||
|
||||
self.AddFlag("float")
|
||||
|
||||
self.isLoaded = 0
|
||||
self.wndInventory = wndInventory
|
||||
|
||||
@@ -1106,6 +1108,9 @@ class InventoryWindow(ui.ScriptWindow):
|
||||
if None != self.tooltipItem:
|
||||
self.tooltipItem.SetTop()
|
||||
|
||||
if self.wndBelt:
|
||||
self.wndBelt.SetTop()
|
||||
|
||||
def OnPressEscapeKey(self):
|
||||
self.Close()
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user