Project

General

Profile

Bug #200 » 0036-gtk4-Fix-science-dialog-help-checkbox.patch

S3_2, S3_1 - Marko Lindqvist, 01/26/2024 12:12 AM

View differences:

client/gui-gtk-4.0/repodlgs.c
return;
}
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(data))) {
if (gtk_check_button_get_active(GTK_CHECK_BUTTON(data))) {
popup_help_dialog_typed(tech_name, HELP_TECH);
} else if (can_client_issue_orders()) {
dsend_packet_player_research(&client.conn, tech);
......
return;
}
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(data))) {
if (gtk_check_button_get_active(GTK_CHECK_BUTTON(data))) {
popup_help_dialog_typed(tech_name, HELP_TECH);
} else if (can_client_issue_orders()) {
dsend_packet_player_tech_goal(&client.conn, tech);
(2-2/2)