added AboutWindow

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@45 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-20 16:34:52 +00:00
parent 79756cc36f
commit 8a6ba132b2
5 changed files with 196 additions and 5 deletions
+8 -3
View File
@@ -51,9 +51,14 @@ void CardListBase::onChangeSet() {
void CardListBase::onAction(const Action& action, bool undone) {
TYPE_CASE(action, AddCardAction) {
// select the new card
selectCard(action.card, false /*list will be refreshed anyway*/);
refreshList();
if (undone) {
refreshList();
selectCardPos((long)sorted_card_list.size() - 1, true);
} else {
// select the new card
selectCard(action.card, false /*list will be refreshed anyway*/);
refreshList();
}
}
TYPE_CASE(action, RemoveCardAction) {
if (undone) {