Skip to content

Commit cebf960

Browse files
refactor bank window/item (AscensionGameDev#2658)
1 parent 60d495f commit cebf960

File tree

5 files changed

+299
-364
lines changed

5 files changed

+299
-364
lines changed

Intersect.Client.Core/Interface/Game/Bag/BagItem.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,10 @@ public override void OpenContextMenu()
8181
return;
8282
}
8383

84+
// Clear the context menu and add the withdraw item with updated item name
85+
_contextMenu.ClearChildren();
8486
_withdrawContextItem.SetText(Strings.BagContextMenu.Withdraw.ToString(item.Name));
87+
_contextMenu.AddChild(_withdrawContextItem);
8588
base.OpenContextMenu();
8689
}
8790

0 commit comments

Comments
 (0)