Hide some controls if WR7 (LGPE)

User experience.

Co-Authored-By: FeralFalcon <33670476+FeralFalcon@users.noreply.github.com>
This commit is contained in:
Kurt 2021-09-16 13:45:41 -07:00
parent 26422bc17c
commit b9d4721553

View File

@ -46,6 +46,9 @@ public SAV_Wondercard(SaveFile sav, DataMysteryGift? g = null)
if (LB_Received.Items.Count > 0)
LB_Received.SelectedIndex = 0;
if (mga.Gifts[0] is WR7) // giftused is not a valid prop
B_UnusedAll.Visible = B_UsedAll.Visible = L_QR.Visible = false;
DragEnter += Main_DragEnter;
DragDrop += Main_DragDrop;