[widgets][protocoletemplateeditor] cleaned unused code. Fixes #223

2 jobs for 223_remove_unused_code_protocol_template_editor in 21 minutes and 17 seconds (queued for 3 seconds)