From e2feb29c33591520ae5adfd229955b1400630b5e Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 27 Sep 2021 19:19:07 +0300 Subject: [PATCH 42/42] 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 a3ceb58c92..a28729674c 100644 --- a/client/gui-qt/dialogs.cpp +++ b/client/gui-qt/dialogs.cpp @@ -809,11 +809,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