FIX: Ensure belt window is displayed above other windows when inventory is opened

This commit is contained in:
Simone Romano
2026-01-16 01:19:51 +01:00
parent 8292f7198e
commit 74ae93e2d1

View File

@@ -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