From 416da6038c5a32d0ee39889e22f5caac6b1bdeea Mon Sep 17 00:00:00 2001 From: aeoform <2790848120@qq.com> Date: Sat, 16 May 2026 09:45:57 +0800 Subject: [PATCH] fix(linux): allow single-key custom triggers in fcitx5 plugin sync Co-Authored-By: Claude Opus 4.7 --- openless-all/app/src-tauri/src/coordinator.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openless-all/app/src-tauri/src/coordinator.rs b/openless-all/app/src-tauri/src/coordinator.rs index 9f0dd656..f592b16d 100644 --- a/openless-all/app/src-tauri/src/coordinator.rs +++ b/openless-all/app/src-tauri/src/coordinator.rs @@ -1590,10 +1590,6 @@ fn is_builtin_translation_shift(binding: &crate::types::ShortcutBinding) -> bool fn sync_custom_dictation_to_plugin(inner: &Arc) { let prefs = inner.prefs.get(); let dictation = &prefs.dictation_hotkey; - // 只有 Custom 组合键才需要走插件同步 - if dictation.modifiers.is_empty() { - return; - } let key_string = crate::linux_fcitx::binding_to_fcitx_key_string(dictation); if key_string.is_empty() { return;