Skip to content

Commit

Permalink
改进GUI菜单
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil committed Nov 26, 2023
1 parent be945a2 commit e4f0767
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OlivOSOnebotV11/GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
6 changes: 5 additions & 1 deletion OlivOSOnebotV11/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@
],
"menu_config": [
{
"title": "修改配置",
"title": "正向WS配置",
"event": "OlivOSOnebotV11_001"
},
{
"title": "反向WS配置",
"event": "OlivOSOnebotV11_002"
}
]
}

0 comments on commit e4f0767

Please sign in to comment.