diff options
| author | 2020-03-14 10:51:36 +0100 | |
|---|---|---|
| committer | 2020-03-14 10:51:36 +0100 | |
| commit | b632dce0daffece3d1d7c7ca9d01f9feb79e2c4c (patch) | |
| tree | bdb843c9402af9ea95aac60a36addd403046c31a /native/src | |
| parent | 731e6752eb2130fb4ff2b92fd9c3274ea1b3110d (diff) | |
| download | iced-b632dce0daffece3d1d7c7ca9d01f9feb79e2c4c.tar.gz iced-b632dce0daffece3d1d7c7ca9d01f9feb79e2c4c.tar.bz2 iced-b632dce0daffece3d1d7c7ca9d01f9feb79e2c4c.zip  | |
fixed panic on pasting into non updating input
Diffstat (limited to '')
| -rw-r--r-- | native/src/widget/text_input.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/text_input.rs b/native/src/widget/text_input.rs index 82406b5a..b41bfd6a 100644 --- a/native/src/widget/text_input.rs +++ b/native/src/widget/text_input.rs @@ -451,7 +451,7 @@ where                              }                              self.value.insert_many( -                                self.state.cursor.end(), +                                self.state.cursor.end().min(self.value.len()),                                  content.clone(),                              );  | 
