[gnome-sudoku] Clear unfillable squares warnings on pressing Clear Board
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku] Clear unfillable squares warnings on pressing Clear Board
- Date: Sun, 29 Jun 2014 17:59:14 +0000 (UTC)
commit 677af821451dadfaa6c9531227ec0ea29e25030b
Author: Parin Porecha <parinporecha gmail com>
Date: Fri Jun 27 20:34:34 2014 +0200
Clear unfillable squares warnings on pressing Clear Board
https://bugzilla.gnome.org/show_bug.cgi?id=732291
src/sudoku-game.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/sudoku-game.vala b/src/sudoku-game.vala
index ea7e6f3..751829d 100644
--- a/src/sudoku-game.vala
+++ b/src/sudoku-game.vala
@@ -73,7 +73,10 @@ public class SudokuGame : Object
for (var l2 = 0; l2 < board.cols; l2++)
{
if (!board.is_fixed[l1, l2])
+ {
board.remove (l1, l2);
+ cell_changed (l1, l2, board.get (l1, l2), 0);
+ }
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]