Fix reading rules multiple times (#10925)
This commit is contained in:
@@ -83,10 +83,7 @@ public sealed class RulesManager : SharedRulesManager
|
|||||||
|
|
||||||
public Control RulesSection()
|
public Control RulesSection()
|
||||||
{
|
{
|
||||||
if (rulesSection.Disposed)
|
rulesSection = new InfoSection("", "", false);
|
||||||
{
|
|
||||||
rulesSection = new InfoSection("", "", false);
|
|
||||||
}
|
|
||||||
UpdateRules();
|
UpdateRules();
|
||||||
return rulesSection;
|
return rulesSection;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user