Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

fix(linux): opening Settings again while it is open no longer adds a second key field under your own AI server

wquguru46239cf35f7f
diff --git a/linux/cicada/app/main.py b/linux/cicada/app/main.py
index b78fe59..ba4a9f1 100644
--- a/linux/cicada/app/main.py
+++ b/linux/cicada/app/main.py
@@ -252,7 +252,10 @@ class Controller:
from .settings_window import SettingsWindow
self.settings_window = SettingsWindow(self)
self.application.add_window(self.settings_window)
- self.settings_window.show_all()
+ # show_all() only on the way up: on an open window it would bring back what its "show"
+ # handlers hid (the key card under a custom service's own rows).
+ if not self.settings_window.get_visible():
+ self.settings_window.show_all()
self.settings_window.present()
if ai:
self.settings_window.scroll.get_vadjustment().set_value(0)
diff --git a/site/changelog.json b/site/changelog.json
index cbf3c65..dcee19c 100644
--- a/site/changelog.json
+++ b/site/changelog.json
@@ -504,6 +504,14 @@
],
"title": "Android 检查自建服务时,模型想了半天没给出译文,也会说它先思考、翻一句要几秒,不再显示“能写纪要”就算通过。",
"text": ""
+ },
+ {
+ "kind": "fixed",
+ "platforms": [
+ "linux"
+ ],
+ "title": "Linux 上设置已经开着时再点“设置”或“打开设置”,用自建服务时不再多出一块 key 输入框。",
+ "text": ""
}
]
},