Skip to content

Commit

Permalink
item: remove hidden marker
Browse files Browse the repository at this point in the history
inventory_selector already shows a chevron for collapsed items
  • Loading branch information
andrei8l committed Apr 6, 2022
1 parent cfae94f commit bd68ffc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6300,12 +6300,7 @@ std::string item::display_name( unsigned int quantity ) const
}
}

std::string collapsed;
if( is_collapsed() ) {
collapsed = string_format( " %s", _( "hidden" ) );
}

return string_format( "%s%s%s%s", name, sidetxt, amt, collapsed );
return string_format( "%s%s%s", name, sidetxt, amt );
}

bool item::is_collapsed() const
Expand Down

0 comments on commit bd68ffc

Please sign in to comment.