mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
Moved the AColor type to a gfx/ header, so other code can use it.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@847 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -209,9 +209,7 @@ void CardsPanel::onCommand(int id) {
|
||||
set->actions.add(new AddCardAction(*set));
|
||||
break;
|
||||
case ID_CARD_REMOVE:
|
||||
if (card_list->getCard() != nullptr && set->cards.size() != 1)
|
||||
//Don't delete the last card, and certainly don't delete a card if none exists.
|
||||
set->actions.add(new RemoveCardAction(*set, card_list->getCard()));
|
||||
card_list->doDelete();
|
||||
break;
|
||||
case ID_CARD_ROTATE:
|
||||
case ID_CARD_ROTATE_0: case ID_CARD_ROTATE_90: case ID_CARD_ROTATE_180: case ID_CARD_ROTATE_270: {
|
||||
|
||||
Reference in New Issue
Block a user