mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-11 01:13:03 +00:00
fix keyboard type store
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
1 parent
ebdead8766
commit
50c33450b9
2 files changed
+39
-40
No files matched your search
@@ -1024,7 +1024,9 @@ impl LocalConfig {
|
||||
}
|
||||
|
||||
pub fn set_kb_layout_type(kb_layout_type: String) {
|
||||
LOCAL_CONFIG.write().unwrap().kb_layout_type = kb_layout_type
|
||||
let mut config = LOCAL_CONFIG.write().unwrap();
|
||||
config.kb_layout_type = kb_layout_type;
|
||||
config.store();
|
||||
}
|
||||
|
||||
pub fn get_size() -> Size {
|
||||
|
||||
Reference in new issue
Block a user