summaryrefslogtreecommitdiffstats
path: root/examples/qr_code/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qr_code/src/main.rs')
-rw-r--r--examples/qr_code/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qr_code/src/main.rs b/examples/qr_code/src/main.rs
index 0486b068..867ebfa4 100644
--- a/examples/qr_code/src/main.rs
+++ b/examples/qr_code/src/main.rs
@@ -51,7 +51,7 @@ impl Sandbox for QRGenerator {
let input =
text_input("Type the data of your QR code here...", &self.data)
- .on_change(Message::DataChanged)
+ .on_input(Message::DataChanged)
.size(30)
.padding(15);