aboutsummaryrefslogtreecommitdiff
path: root/src/ThemeBuilder/components/StyleRuleSetEditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ThemeBuilder/components/StyleRuleSetEditor.cpp')
-rw-r--r--src/ThemeBuilder/components/StyleRuleSetEditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ThemeBuilder/components/StyleRuleSetEditor.cpp b/src/ThemeBuilder/components/StyleRuleSetEditor.cpp
index f2509f4f..fd159a44 100644
--- a/src/ThemeBuilder/components/StyleRuleSetEditor.cpp
+++ b/src/ThemeBuilder/components/StyleRuleSetEditor.cpp
@@ -80,7 +80,7 @@ void StyleRuleSetEditor::UpdateView(
});
style_rule_editors_.insert(style_rule_editors_.cbegin() + i,
std::move(style_rule_editor));
- rules_layout_.AddChildAt(style_rule_editors_.back()->GetRootControl(),
+ rules_layout_.InsertChildAt(style_rule_editors_.back()->GetRootControl(),
i);
}
break;