From e4f07678933106fea64c415aaaacefd61593fb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=91=E8=B4=A8?= Date: Sun, 26 Nov 2023 20:36:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BGUI=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OlivOSOnebotV11/GUI.py | 2 +- OlivOSOnebotV11/app.json | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/OlivOSOnebotV11/GUI.py b/OlivOSOnebotV11/GUI.py index 44d7ea5..cad6302 100644 --- a/OlivOSOnebotV11/GUI.py +++ b/OlivOSOnebotV11/GUI.py @@ -41,7 +41,7 @@ def __init__(self, Model_name, logger_proc = None): self.routeData = {} def start(self): - self.UIObject['root'] = tkinter.Tk() + self.UIObject['root'] = tkinter.Toplevel() self.UIObject['root'].title('OlivOS OnebotV11 协议端') self.UIObject['root'].geometry('518x400') self.UIObject['root'].resizable( diff --git a/OlivOSOnebotV11/app.json b/OlivOSOnebotV11/app.json index 48322f5..6e816ed 100644 --- a/OlivOSOnebotV11/app.json +++ b/OlivOSOnebotV11/app.json @@ -17,8 +17,12 @@ ], "menu_config": [ { - "title": "修改配置", + "title": "正向WS配置", "event": "OlivOSOnebotV11_001" + }, + { + "title": "反向WS配置", + "event": "OlivOSOnebotV11_002" } ] }