add debug logging to track window title visibility issue

This commit is contained in:
Damocles 2026-04-17 01:19:04 +02:00
parent d8cef95b6f
commit f225d34202
2 changed files with 7 additions and 1 deletions

View file

@ -111,6 +111,7 @@ QtObject {
try {
data = JSON.parse(raw);
} catch (e) {}
console.log("Modules._apply keys=" + Object.keys(data).length + " windowTitle=" + JSON.stringify(data.windowTitle));
// Enable all modules that aren't explicitly mentioned in the JSON
for (const k of _moduleKeys) {
@ -120,6 +121,7 @@ QtObject {
});
}
console.log("Modules._apply after defaults: windowTitle.enable=" + root.windowTitle.enable);
// Apply JSON overrides
for (const k of Object.keys(data)) {
if (!(k in root))