diff options
author | crupest <crupest@outlook.com> | 2022-02-10 19:49:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-10 19:49:06 +0800 |
commit | c1dbad5fdf0560983e6c832eddded6f610eae94e (patch) | |
tree | 40f22f7e6aa7ef39c49b1c007beed37130fc0b5d /src/theme_builder/components/StyleRuleSetEditor.h | |
parent | b2622f654598f82a220a98daaa84fed9ce3b92b2 (diff) | |
download | cru-c1dbad5fdf0560983e6c832eddded6f610eae94e.tar.gz cru-c1dbad5fdf0560983e6c832eddded6f610eae94e.tar.bz2 cru-c1dbad5fdf0560983e6c832eddded6f610eae94e.zip |
...
Diffstat (limited to 'src/theme_builder/components/StyleRuleSetEditor.h')
-rw-r--r-- | src/theme_builder/components/StyleRuleSetEditor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theme_builder/components/StyleRuleSetEditor.h b/src/theme_builder/components/StyleRuleSetEditor.h index 50f1c80d..75597cf4 100644 --- a/src/theme_builder/components/StyleRuleSetEditor.h +++ b/src/theme_builder/components/StyleRuleSetEditor.h @@ -15,7 +15,7 @@ class StyleRuleSetEditor : public ui::components::Component { ~StyleRuleSetEditor() override; public: - ui::controls::Control* GetRootControl() override { return main_layout_; } + ui::controls::Control* GetRootControl() override { return &main_layout_; } void BindStyleRuleSet(std::shared_ptr<ui::style::StyleRuleSet> rule_set); @@ -23,7 +23,7 @@ class StyleRuleSetEditor : public ui::components::Component { void UpdateView(); private: - ui::controls::FlexLayout* main_layout_; + ui::controls::FlexLayout main_layout_; std::shared_ptr<ui::style::StyleRuleSet> style_rule_set_; }; |