Skip to content

Commit

Permalink
Fix footer update after selecting None
Browse files Browse the repository at this point in the history
  • Loading branch information
bkerler committed Dec 14, 2024
1 parent 8a788ae commit acade0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/footer/footer_line.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ bool FooterLine::Create(footer::Item item_id, size_t index) {

if (item_id >= footer::Item::_count) {
item_id = footer::Item::none;
} else if (item_id == footer::Item::none) {
unregister(index);
return false;
}

auto &item = items[index];
Expand Down

0 comments on commit acade0a

Please sign in to comment.