From c9ec0b3a3af3aa4c7fc026a4da733070f6588dff Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 27 Sep 2021 19:22:10 +0300 Subject: [PATCH 20/20] Qt: Correctly send the sex user selected in nation selection request See osdn #42936 Signed-off-by: Marko Lindqvist --- client/gui-qt/dialogs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/gui-qt/dialogs.cpp b/client/gui-qt/dialogs.cpp index 80e8069dde..09efeafac8 100644 --- a/client/gui-qt/dialogs.cpp +++ b/client/gui-qt/dialogs.cpp @@ -791,11 +791,11 @@ void races_dialog::leader_selected(int index) if (leader_name->itemData(index).toBool()) { is_male->setChecked(true); is_female->setChecked(false); - selected_sex=0; + selected_sex = 1; } else { is_male->setChecked(false); is_female->setChecked(true); - selected_sex=1; + selected_sex = 0; } } -- 2.33.0