From 800d2d8ab04abfff2777fccb65fa7d2b496bc218 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Mon, 29 Feb 2016 09:03:41 +1100 Subject: [PATCH] Fixed dialogs using unit_preview_pane having their Profile button invisible --- src/dialogs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dialogs.cpp b/src/dialogs.cpp index 3ee8e306fee9..96023e6f8d71 100644 --- a/src/dialogs.cpp +++ b/src/dialogs.cpp @@ -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