[gnome-sudoku] Clear all redmarks when the board is cleared.



commit d4f60e6b2c485078d49aeb17dce5149f7b131300
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Sep 5 02:31:24 2014 +0200

    Clear all redmarks when the board is cleared.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735426

 lib/sudoku-game.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/sudoku-game.vala b/lib/sudoku-game.vala
index 5817749..125d51e 100644
--- a/lib/sudoku-game.vala
+++ b/lib/sudoku-game.vala
@@ -79,6 +79,7 @@ public class SudokuGame : Object
                 }
             }
         }
+        board.broken_coords.clear ();
     }
 
     public void cell_changed_cb (int row, int col, int old_val, int new_val)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]