Commit 773ae504 authored by Medicean's avatar Medicean

Fix(Modules): 修正菜单中退出程序不生效的bug

parent 7aed041b
...@@ -42,7 +42,9 @@ eg: ...@@ -42,7 +42,9 @@ eg:
* 优化窗口关闭逻辑 #245 * 优化窗口关闭逻辑 #245
点击最小化时,不再最小化至系统托盘。点击关闭按钮,最小化至系统托盘。点击托盘菜单中的「退出」程序退出。 * 点击最小化时,不再最小化至系统托盘。点击窗口的关闭按钮,最小化至系统托盘。
* 点击托盘菜单中的「退出」程序退出。
* 点击菜单中的「退出程序」程序退出。
* 「编码管理」新增新建「JSP解码器」 * 「编码管理」新增新建「JSP解码器」
......
...@@ -113,7 +113,7 @@ class Menubar { ...@@ -113,7 +113,7 @@ class Menubar {
accelerator: 'Command+Q', accelerator: 'Command+Q',
click: this click: this
.app .app
.quit .exit
.bind(this.app) .bind(this.app)
}] }]
}, { }, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment