Skip to content

Commit acade0a

Browse files
author
Bjoern Kerler
committed
Fix footer update after selecting None
1 parent 8a788ae commit acade0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/gui/footer/footer_line.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ bool FooterLine::Create(footer::Item item_id, size_t index) {
4141

4242
if (item_id >= footer::Item::_count) {
4343
item_id = footer::Item::none;
44+
} else if (item_id == footer::Item::none) {
45+
unregister(index);
46+
return false;
4447
}
4548

4649
auto &item = items[index];

0 commit comments

Comments
 (0)