mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-05-22 23:41:44 +03:00
theme combobox
This commit is contained in:
4
linux.py
4
linux.py
@@ -138,7 +138,7 @@ def _on_exit(icon=None, item=None) -> None:
|
||||
|
||||
|
||||
def _edit_config_dialog() -> None:
|
||||
if not ensure_ctk_thread(ctk):
|
||||
if not ensure_ctk_thread(ctk, _config.get("appearance", "auto")):
|
||||
_show_error("customtkinter не установлен.")
|
||||
return
|
||||
|
||||
@@ -193,7 +193,7 @@ def _show_first_run() -> None:
|
||||
ensure_dirs()
|
||||
if FIRST_RUN_MARKER.exists():
|
||||
return
|
||||
if not ensure_ctk_thread(ctk):
|
||||
if not ensure_ctk_thread(ctk, _config.get("appearance", "auto")):
|
||||
FIRST_RUN_MARKER.touch()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user