From 8ffb3b862355bf9b370dbc7ae68da9f3ed235adf Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 13 Apr 2020 13:30:52 +0200 Subject: ein paar zukünftige Dinge entfernt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- raetselunit.pas | 11 ++--------- 1 file 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 -- cgit v1.2.3-70-g09d2