Commit 4be633f6 authored by Arnaud B.'s avatar Arnaud B.

Delay setting settings.

parent d35cf183
Pipeline #169543 passed with stage
in 3 minutes and 55 seconds
......@@ -222,9 +222,11 @@ public class Sudoku : Gtk.Application
}
/* Save window state */
settings.delay ();
settings.set_int ("window-width", window_width);
settings.set_int ("window-height", window_height);
settings.set_boolean ("window-is-maximized", is_maximized);
settings.apply ();
base.shutdown ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment