Skip to content

Commit

Permalink
disable edit mode when loading a new keyboard layout
Browse files Browse the repository at this point in the history
  • Loading branch information
justDeeevin committed Dec 22, 2024
1 parent f422e78 commit f42f045
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/app/src/nuhxboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ impl NuhxBoard {
}

fn load_layout(&mut self, keyboard: usize) -> Task<Message> {
self.edit_mode = false;
self.settings.keyboard = keyboard;

self.keyboard_choice = Some(keyboard);
Expand Down

0 comments on commit f42f045

Please sign in to comment.