kvichans / cuda_config_menu

CudaText plugin to make custom menu
2 stars 1 forks source link

"add" to menu #23

Closed TomBraider42 closed 6 years ago

TomBraider42 commented 7 years ago

cd_config_menu.py line 151: i added an "if line" to not clear the menu if "how" set to "add"

if mnu_dict.get('how', 'add') == 'clear':
    app.app_proc(app.PROC_MENU_CLEAR, top_id)
Alexey-T commented 7 years ago

if "how" set to "add", then get() gets "add" and next code still works ok. (No need to fix)

TomBraider42 commented 7 years ago

right, but there was no line, i added it: if mnu_dict.get('how', 'add') == 'clear':

Alexey-T commented 7 years ago

It is solved?

TomBraider42 commented 7 years ago

I don't know, don't use the plugin anymore.

Alexey-T commented 6 years ago

@kvichans Pls close?

kvichans commented 6 years ago

не понял что просят мб Том не знает, что все пп меню заполняются заново - clear не нужен

Alexey-T commented 6 years ago

Тогда закроем