Fix loading of window rules
We need to call KCoreConfigSkeleton::load() otherwise window rule objects will not be created.
This commit is contained in:
parent
5929147ee1
commit
35e37f7347
1 changed files with 3 additions and 1 deletions
|
@ -1013,7 +1013,9 @@ void RuleBook::load()
|
||||||
} else {
|
} else {
|
||||||
m_config->reparseConfiguration();
|
m_config->reparseConfiguration();
|
||||||
}
|
}
|
||||||
m_rules = RuleBookSettings(m_config).rules().toList();
|
RuleBookSettings book(m_config);
|
||||||
|
book.load();
|
||||||
|
m_rules = book.rules().toList();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RuleBook::save()
|
void RuleBook::save()
|
||||||
|
|
Loading…
Reference in a new issue