[gnome-tetravex] Fix previous commit.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex] Fix previous commit.
- Date: Fri, 20 Sep 2019 19:37:43 +0000 (UTC)
commit e6f5f8d9c515aeaf172aeda308b4cb25d0aad1b8
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Sep 20 21:36:46 2019 +0200
Fix previous commit.
src/gnome-tetravex.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-tetravex.vala b/src/gnome-tetravex.vala
index a7a71e2..428f7b8 100644
--- a/src/gnome-tetravex.vala
+++ b/src/gnome-tetravex.vala
@@ -419,7 +419,7 @@ private class Tetravex : Gtk.Application
private void new_game_cb ()
{
- if (puzzle.game_in_progress)
+ if (puzzle.game_in_progress && !puzzle.is_solved)
{
MessageDialog dialog = new MessageDialog (window,
DialogFlags.MODAL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]