aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/properties/PointPropertyEditor.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-12 21:38:34 +0800
committercrupest <crupest@outlook.com>2022-02-12 21:38:34 +0800
commit947664150cf0ae96cbffffe431107ec28d85d9cc (patch)
tree829662c5d18aa378d1b59be1381a63107008b890 /src/theme_builder/components/properties/PointPropertyEditor.cpp
parentb7946e28a08c945e26d39f095d2e55c952a936c4 (diff)
downloadcru-947664150cf0ae96cbffffe431107ec28d85d9cc.tar.gz
cru-947664150cf0ae96cbffffe431107ec28d85d9cc.tar.bz2
cru-947664150cf0ae96cbffffe431107ec28d85d9cc.zip
...
Diffstat (limited to 'src/theme_builder/components/properties/PointPropertyEditor.cpp')
-rw-r--r--src/theme_builder/components/properties/PointPropertyEditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theme_builder/components/properties/PointPropertyEditor.cpp b/src/theme_builder/components/properties/PointPropertyEditor.cpp
index a8549c8d..dde97b79 100644
--- a/src/theme_builder/components/properties/PointPropertyEditor.cpp
+++ b/src/theme_builder/components/properties/PointPropertyEditor.cpp
@@ -24,7 +24,7 @@ PointPropertyEditor::PointPropertyEditor() {
});
}
-PointPropertyEditor::~PointPropertyEditor() {}
+PointPropertyEditor::~PointPropertyEditor() { container_.RemoveFromParent(); }
void PointPropertyEditor::SetPoint(const ui::Point& point) {
point_ = point;