Skip to content

Commit

Permalink
tunit_create: made alignment tooltip use translated text again
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 29, 2016
1 parent 01168d5 commit 032ab45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/dialogs/unit_create.cpp
Expand Up @@ -352,7 +352,9 @@ void tunit_create::list_item_clicked(twindow& window)
timage& a_icon = find_widget<timage>(&window, "type_alignment", false);

a_icon.set_label("icons/alignments/alignment_" + alignment_name + "_30.png");
a_icon.set_tooltip(alignment_name);
a_icon.set_tooltip(unit_type::alignment_description(
u->alignment(),
u->genders().front()));

tlabel& details = find_widget<tlabel>(&window, "type_details", false);

Expand Down

0 comments on commit 032ab45

Please sign in to comment.