aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/wrapper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/layout/wrapper.rs')
-rw-r--r--src/components/layout/wrapper.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/layout/wrapper.rs b/src/components/layout/wrapper.rs
index 026857d9ad7..9d1884579da 100644
--- a/src/components/layout/wrapper.rs
+++ b/src/components/layout/wrapper.rs
@@ -404,6 +404,12 @@ impl<'le> TElement for LayoutElement<'le> {
self.element.node.get_disabled_state_for_layout()
}
}
+
+ fn get_enabled_state(&self) -> bool {
+ unsafe {
+ self.element.node.get_enabled_state_for_layout()
+ }
+ }
}
fn get_content(content_list: &content::T) -> String {