Show grand exchange offer type on cancelled state

This commit is contained in:
Kamiel
2018-04-15 19:37:46 +02:00
parent 19e866b0ef
commit 8d1945e9a0
4 changed files with 16 additions and 8 deletions

View File

@@ -151,8 +151,10 @@ public class GrandExchangeOfferSlot extends JPanel
{
switch (state)
{
case CANCELLED:
return "Cancelled";
case CANCELLED_BUY:
return "Buying cancelled";
case CANCELLED_SELL:
return "Selling cancelled";
case BUYING:
return "Buying";
case BOUGHT:
@@ -172,7 +174,8 @@ public class GrandExchangeOfferSlot extends JPanel
{
switch (state)
{
case CANCELLED:
case CANCELLED_BUY:
case CANCELLED_SELL:
return GE_CANCELLED_RED;
case BUYING:
case SELLING: