Skip to content

Commit

Permalink
Fixed dialogs using unit_preview_pane having their Profile button inv…
Browse files Browse the repository at this point in the history
…isible
  • Loading branch information
Vultraz committed Feb 28, 2016
1 parent 504ed49 commit 800d2d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dialogs.cpp
Expand Up @@ -881,6 +881,7 @@ void unit_preview_pane::draw_contents()
, details_button_.location().w
, details_button_.location().h);
details_button_.set_location(button_loc);
details_button_.set_dirty(true);

SDL_Rect description_rect = sdl::create_rect(image_rect.x
, image_rect.y + image_rect.h + details_button_.location().h
Expand Down

0 comments on commit 800d2d8

Please sign in to comment.