Skip to content

Commit

Permalink
fix bug 22646: tooltips broken in replay viewer
Browse files Browse the repository at this point in the history
Fixes a logic error introduced in this commit:

4e17d42#diff-89155afc5a0b890787b4bfa962f217d4R846

I'm not sure, it seems it would have most if not all tooltips
except those related to the map editor.
  • Loading branch information
cbeck88 committed Sep 16, 2014
1 parent e785975 commit 248aabf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/theme.cpp
Expand Up @@ -603,6 +603,8 @@ const std::string theme::action::tooltip(size_t index) const {
if (!hotkey::get_names(items_[index]).empty())
result << "\n" << N_("Hotkey(s): ") << hotkey::get_names(items_[index]);
result << "\n" << tooltip_;
} else {
result << tooltip_;
}

return result.str();
Expand Down

0 comments on commit 248aabf

Please sign in to comment.