summaryrefslogtreecommitdiffstats
path: root/widget/src/combo_box.rs
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2024-10-02 15:29:35 +0200
committerLibravatar GitHub <noreply@github.com>2024-10-02 15:29:35 +0200
commite504e35146fe3a0f7b6136aefcbc13bbcf00b75d (patch)
tree7e8abd4403b4622bfaafcd3cb42f4c2336554554 /widget/src/combo_box.rs
parente086c19a0628a5f9785904972f5aa5ef77cfe1dc (diff)
parent7a86900a45116994a4a175c8979550b28ec0dcfb (diff)
downloadiced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.tar.gz
iced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.tar.bz2
iced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.zip
Merge pull request #2615 from bbb651/wayland-file-dropped-doc
Document Wayland `File*` Events as Unsupported & Fix Typos
Diffstat (limited to 'widget/src/combo_box.rs')
-rw-r--r--widget/src/combo_box.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/combo_box.rs b/widget/src/combo_box.rs
index fb661ad5..e300f1d0 100644
--- a/widget/src/combo_box.rs
+++ b/widget/src/combo_box.rs
@@ -608,8 +608,8 @@ where
..
}) = event
{
- let shift_modifer = modifiers.shift();
- match (named_key, shift_modifer) {
+ let shift_modifier = modifiers.shift();
+ match (named_key, shift_modifier) {
(key::Named::Enter, _) => {
if let Some(index) = &menu.hovered_option {
if let Some(option) =