summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-13 13:30:52 +0200
committerErich Eckner <git@eckner.net>2020-04-13 13:30:52 +0200
commit8ffb3b862355bf9b370dbc7ae68da9f3ed235adf (patch)
treede77a6e9c890fe36e67ab4f51a571245db5cbdc4
parent7f021f36378b80ed0c689707b0dab06dea96c890 (diff)
downloadRaetsel-8ffb3b862355bf9b370dbc7ae68da9f3ed235adf.tar.xz
ein paar zukünftige Dinge entfernt
-rw-r--r--raetselunit.pas11
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