|
From: Geisschaes <gei...@us...> - 2005-09-26 20:06:40
|
Update of /cvsroot/macattrick/macattrick In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9010 Modified Files: PlayerListsViewController.m Log Message: removing main list is not possible anymore Index: PlayerListsViewController.m =================================================================== RCS file: /cvsroot/macattrick/macattrick/PlayerListsViewController.m,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** PlayerListsViewController.m 26 Sep 2005 19:33:58 -0000 1.6 --- PlayerListsViewController.m 26 Sep 2005 20:06:23 -0000 1.7 *************** *** 56,59 **** --- 56,62 ---- [playerLists release]; playerLists = newPlayerLists; + if(! [playerLists containsObject:[[Team currentTeam] allPlayersList]]) { // main list remove... + [playerLists insertObject:[[Team currentTeam] allPlayersList]atIndex:0 ]; + } [[Team currentTeam] setUserDefinedPlayerLists:playerLists]; } |