Skip to content

Commit

Permalink
Force a full redraw after save template window
Browse files Browse the repository at this point in the history
  • Loading branch information
tivec authored and kevingranade committed Oct 25, 2019
1 parent dc60bb2 commit 4473762
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/newcharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2433,6 +2433,9 @@ tab_direction set_description( const catacurses::window &w, avatar &you, const b
if( const auto name = query_for_template_name() ) {
::save_template( you, *name, points );
}
// redraw after saving template
draw_character_tabs( w, _( "DESCRIPTION" ) );
draw_points( w, points );
redraw = true;
} else if( action == "PICK_RANDOM_NAME" ) {
if( !MAP_SHARING::isSharing() ) { // Don't allow random names when sharing maps. We don't need to check at the top as you won't be able to edit the name
Expand Down

0 comments on commit 4473762

Please sign in to comment.