[four-in-a-row/arnaudb/wip/gtk4: 34/42] Try a fix.



commit bd5a33102b9d8a1c62275161b61e044a2eab2dd3
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Apr 19 23:33:53 2020 +0200

    Try a fix.

 src/game-window.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/game-window.vala b/src/game-window.vala
index f505f8c..114aa21 100644
--- a/src/game-window.vala
+++ b/src/game-window.vala
@@ -407,7 +407,7 @@ private class GameWindow : AdaptativeWindow, AdaptativeWidget
 
         game_finished = false;
 
-        if (!back_button.is_focus)
+        if (!back_button.is_focus ())
             view.grab_focus();
      // redo_action.set_enabled (true);
         undo ();


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