[gnome-mines/arnaudb/wip/gtk4: 26/36] Fix a small thing.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-mines/arnaudb/wip/gtk4: 26/36] Fix a small thing.
- Date: Sun, 26 Apr 2020 13:04:10 +0000 (UTC)
commit 8b41c64a693829c302b68beac4ba488d6f52f04c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 14 18:32:58 2020 +0200
    Fix a small thing.
 src/gnome-mines.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index eda717c..302e45e 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -664,7 +664,7 @@ public class Mines : Gtk.Application
     private void start_game ()
     {
         window_skip_configure = true;
-        minefield_view.has_focus = true;
+        minefield_view.grab_focus ();
 
         repeat_size_action.set_enabled (false);
         play_pause_label.label = _("_Pause");
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]