parent
bf6201d54a
commit
71c776e0f7
1 changed files with 6 additions and 1 deletions
|
|
@ -312,7 +312,12 @@ impl page::Page<crate::pages::Message> for Page {
|
|||
}
|
||||
|
||||
// Xkb layouts currently enabled.
|
||||
let layouts = self.xkb.layout.split_terminator(',');
|
||||
let layouts = if self.xkb.layout.is_empty() {
|
||||
"us"
|
||||
} else {
|
||||
&self.xkb.layout
|
||||
}
|
||||
.split_terminator(',');
|
||||
|
||||
// Xkb variants for each layout. Repeat empty strings in case there's more layouts than variants.
|
||||
let variants = self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue