Fix GUI1 help topics not showing
This commit is contained in:
parent
5fffe8539f
commit
f96aa94e03
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ void help_text_area::set_items()
|
|||
const config& parsed_items = shown_topic_->text.parsed_text();
|
||||
for(auto item : parsed_items.all_children_range()) {
|
||||
#define TRY(name) do { \
|
||||
if (auto child = item.cfg.optional_child(#name)) \
|
||||
handle_##name##_cfg(child.value()); \
|
||||
if (item.key == #name) \
|
||||
handle_##name##_cfg(item.cfg); \
|
||||
} while (0)
|
||||
|
||||
TRY(text);
|
||||
|
|
Loading…
Add table
Reference in a new issue