diff --git a/devel/scan-vtables.lua b/devel/scan-vtables.lua index 74ce5a1294..1b62ec424b 100644 --- a/devel/scan-vtables.lua +++ b/devel/scan-vtables.lua @@ -71,7 +71,8 @@ function scan_ranges(g_src) if demangled_name and not demangled_name:match('[<>]') and not demangled_name:match('^std::') and - not names[demangled_name] + not names[demangled_name] and + (g_src or demangled_name ~= 'widgets::widget') -- the widget in g_src takes precedence then local base_str = '' if g_src then