[four-in-a-row/KaKnife/four-in-a-row-vala: 40/65] fixed issue with scorebox



commit 228efb54825370964d25f1bbe8a0ffdd5c092197
Author: Jacob Humphrey <jacob ryan humphrey gmail com>
Date:   Fri Dec 14 22:31:18 2018 -0600

    fixed issue with scorebox

 src/scorebox.vala | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/scorebox.vala b/src/scorebox.vala
index 11229e4..f39c920 100644
--- a/src/scorebox.vala
+++ b/src/scorebox.vala
@@ -111,4 +111,9 @@ class Scorebox : Gtk.Dialog {
         application.score[PlayerID.NOBODY] = 0;
         //update();
     }
+
+    public override bool delete_event(Gdk.EventAny event) {
+        hide();
+        return true;
+    }
 }


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