Fix loading of window rules

We need to call KCoreConfigSkeleton::load() otherwise window rule
objects will not be created.
This commit is contained in:
Vlad Zahorodnii 2021-06-08 14:10:43 +03:00
parent 5929147ee1
commit 35e37f7347

View file

@ -1013,7 +1013,9 @@ void RuleBook::load()
} else {
m_config->reparseConfiguration();
}
m_rules = RuleBookSettings(m_config).rules().toList();
RuleBookSettings book(m_config);
book.load();
m_rules = book.rules().toList();
}
void RuleBook::save()