Skip to content

Commit

Permalink
inventory_ui: invalidate paging on collapse (#52659)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei8l authored Nov 7, 2021
1 parent 7d2fc43 commit 339faae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/inventory_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ void inventory_column::set_collapsed( inventory_entry &entry, const bool collaps

if( collapsed ) {
entry.collapsed = collapse;
paging_is_valid = false;

// recache cells in case the name changed
std::size_t const index =
Expand Down

0 comments on commit 339faae

Please sign in to comment.