fix window title: move visibility to bargroup to avoid binding deadlock

This commit is contained in:
Damocles 2026-04-17 09:09:42 +02:00
parent f225d34202
commit 8c2ff6203f
4 changed files with 2 additions and 14 deletions

View file

@ -111,8 +111,6 @@ 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) {
if (!(k in data))
@ -121,7 +119,6 @@ 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))