fix boutton retour qui efface pas tout
This commit is contained in:
parent
38d267b8b2
commit
43864b6a63
@ -48,10 +48,10 @@ public class Saisie {
|
||||
}
|
||||
|
||||
public void removeSelection(Integer pionVide) {
|
||||
if(this.sizeSelection<=4 && this.sizeSelection>0) {
|
||||
this.selection.removeLast();
|
||||
if(this.sizeSelection>0) {
|
||||
this.selection.remove(this.sizeSelection-1);
|
||||
this.selection.add(pionVide);
|
||||
this.sizeSelection-=1;
|
||||
this.sizeSelection--;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user