[gnome-sudoku/arnaudb/wip/gtk4: 28/43] Fix PrintDialog.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku/arnaudb/wip/gtk4: 28/43] Fix PrintDialog.
- Date: Wed, 5 Aug 2020 17:40:59 +0000 (UTC)
commit 8053efeb4d91f4926bec57eb066e619d0b4e9ff6
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Apr 13 16:00:51 2020 +0200
Fix PrintDialog.
src/print-dialog.vala | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/src/print-dialog.vala b/src/print-dialog.vala
index 4766b4d..0314ecd 100644
--- a/src/print-dialog.vala
+++ b/src/print-dialog.vala
@@ -66,11 +66,20 @@ public class PrintDialog : Dialog
if (saved_difficulty == DifficultyCategory.EASY)
easy_radio_button.set_active (true);
else if (saved_difficulty == DifficultyCategory.MEDIUM)
+ {
medium_radio_button.set_active (true);
+ easy_radio_button.set_active (false);
+ }
else if (saved_difficulty == DifficultyCategory.HARD)
+ {
hard_radio_button.set_active (true);
+ easy_radio_button.set_active (false);
+ }
else if (saved_difficulty == DifficultyCategory.VERY_HARD)
+ {
very_hard_radio_button.set_active (true);
+ easy_radio_button.set_active (false);
+ }
else
assert_not_reached ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]