aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/StyleRuleEditor.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-16 23:41:28 +0800
committercrupest <crupest@outlook.com>2022-02-16 23:41:28 +0800
commit77e0fd5cf7dd35324a7c3a43f2004fb923c6254c (patch)
tree0d66fd74fa61bb680ac0ae35c9faa4e5d853f295 /src/theme_builder/components/StyleRuleEditor.cpp
parent9307bd1af7c52aaf9c6d25b598bf3069a63c32a1 (diff)
downloadcru-77e0fd5cf7dd35324a7c3a43f2004fb923c6254c.tar.gz
cru-77e0fd5cf7dd35324a7c3a43f2004fb923c6254c.tar.bz2
cru-77e0fd5cf7dd35324a7c3a43f2004fb923c6254c.zip
...
Diffstat (limited to 'src/theme_builder/components/StyleRuleEditor.cpp')
-rw-r--r--src/theme_builder/components/StyleRuleEditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theme_builder/components/StyleRuleEditor.cpp b/src/theme_builder/components/StyleRuleEditor.cpp
index 7a99900b..b697f92c 100644
--- a/src/theme_builder/components/StyleRuleEditor.cpp
+++ b/src/theme_builder/components/StyleRuleEditor.cpp
@@ -17,7 +17,7 @@ StyleRuleEditor::StyleRuleEditor() {
[this] { remove_event_.Raise(nullptr); });
}
-StyleRuleEditor::~StyleRuleEditor() { main_layout_.RemoveFromParent(); }
+StyleRuleEditor::~StyleRuleEditor() {}
ui::style::StyleRule StyleRuleEditor::GetValue() const {
return ui::style::StyleRule(condition_editor_->GetCondition(),