summaryrefslogtreecommitdiffstats
path: root/core/src/widget
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2019-11-18 23:06:28 +0100
committerLibravatar GitHub <noreply@github.com>2019-11-18 23:06:28 +0100
commit5adefdf6613bfe0738b573eab1d280fa041f5417 (patch)
tree60ff05b3ee9e896d9538de19bb2412c7d6e63c6a /core/src/widget
parent54ffefcc0b8f4558a93ca51f044594db009bacc8 (diff)
parent63dbf078fefea444073813e834c2d35fa25eb3a7 (diff)
downloadiced-5adefdf6613bfe0738b573eab1d280fa041f5417.tar.gz
iced-5adefdf6613bfe0738b573eab1d280fa041f5417.tar.bz2
iced-5adefdf6613bfe0738b573eab1d280fa041f5417.zip
Merge pull request #62 from hecrj/feature/async-actions
Async actions
Diffstat (limited to 'core/src/widget')
-rw-r--r--core/src/widget/text_input.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/widget/text_input.rs b/core/src/widget/text_input.rs
index 450a7cae..16c67954 100644
--- a/core/src/widget/text_input.rs
+++ b/core/src/widget/text_input.rs
@@ -80,7 +80,7 @@ where
}
}
-#[derive(Debug, Default)]
+#[derive(Debug, Default, Clone)]
pub struct State {
pub is_focused: bool,
cursor_position: usize,