fix(keyboard): duplicate input sources

This commit is contained in:
Michael Aaron Murphy 2024-09-25 15:26:36 +02:00
parent 5fc0228856
commit cdd7342d6f
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -367,6 +367,7 @@ impl page::Page<crate::pages::Message> for Page {
for (id, (xkb_layout, xkb_variant, _desc, _source)) in &self.keyboard_layouts {
if layout == xkb_layout && variant == xkb_variant {
self.active_layouts.push(id);
break;
}
}
}