Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.14k stars 299 forks source link

Double entries are created while adding 'New tutorial' in custom toolbar #2498

Open mjainQA opened 7 years ago

mjainQA commented 7 years ago

Short Summary

When creating a new toolbox tutorial, if you click Apply then OK, two tutorials of the same name will be created.

Steps to Reproduce

  1. click Cog menu > New Tutorial
  2. Click Apply to add the new tutorial and click 'ok'. Tutorial is added again.

Expected results

There should be only one option to add tutorial.

Actual results

Two tutorials are added.

Platform Information

Komodo Edit or IDE? Komodo Version? Operating System (and version)?

Additional Information

image

Naatan commented 7 years ago

The bug here is that the Apply button shows when creating a new tutorial. The apply button should only show when editing an existing tutorial.