Fix GUI1 help topics not showing
This commit is contained in:
parent
f421a74864
commit
8ac0ba61b4
1 changed files with 2 additions and 2 deletions
|
@ -116,8 +116,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 (config &child = item.cfg.child(#name)) \
|
||||
handle_##name##_cfg(child); \
|
||||
if (item.key == #name) \
|
||||
handle_##name##_cfg(item.cfg); \
|
||||
} while (0)
|
||||
|
||||
TRY(text);
|
||||
|
|
Loading…
Add table
Reference in a new issue