Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初次添加插件,重复在popup menu处添加 #33

Closed
euzenlee opened this issue Jun 13, 2021 · 3 comments
Closed

初次添加插件,重复在popup menu处添加 #33

euzenlee opened this issue Jun 13, 2021 · 3 comments

Comments

@euzenlee
Copy link

新增的插件菜单都跑到opoup menu那里了,Top menu处是空白的,再次打开程序会正常。

TaddPlugins.addActionListener {} 里,下面代码有手误:
when (json.search(title,"type")) {
"crypto" -> {
Plugins.add(buildPluginMenuItem(title))
Plugins.add(buildPluginMenuItem(title))

}
}

第二个Plugins应该是TPlugins才对。

@0Chencc
Copy link
Owner

0Chencc commented Jun 13, 2021

好的,我修改一下代码。感谢!

@euzenlee
Copy link
Author

好的,我修改一下代码。感谢!

这工具做得非常不错。自己写了不少插件放在里面,可以减少其他小工具的调用,大为方便。但随着插件增加,菜单方面的缺点就慢慢呈现,没有二、三级菜单分类,所有插件混在一起,查找和分类都不便,如果以后版本可以增加这方面功能就好了。
另外,插件的参数弹出窗口,只有字符输入,即使可以多个字段,也显得有些不足,如果增加下拉选择之类的弹出,就更加完美了。

@0Chencc
Copy link
Owner

0Chencc commented Jun 16, 2021

收到,我这几天抽个时间准备开始重构。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants