diff options
-rw-r--r-- | raetselunit.pas | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/raetselunit.pas b/raetselunit.pas index e5f9f47..34bfef6 100644 --- a/raetselunit.pas +++ b/raetselunit.pas @@ -585,11 +585,7 @@ begin for i:=0 to dim-1 do setLength(puzzleTeile[i],dim); - puzzleCB.enabled:=dim>2; - if puzzleCB.checked and not puzzleCB.enabled then - puzzleCB.checked:=false; - - sudokuCB.enabled:=(intRoot(dim)>1) and not puzzleCB.checked; + sudokuCB.enabled:=(intRoot(dim)>1); sudokuCB.checked:=false; loeschen; @@ -968,10 +964,7 @@ begin end; exit; end; - if not puzzleCB.checked then begin - puzzleTeile[0][0]:=-1; - exit; - end; + puzzleTeile[0][0]:=-1; end; // tHochhausRaetsel und tBuchstabenRaetsel |