Add item single click slot in labelDialog.py (#312)
Add item single click slot in labelDialog.py (#312)

* Add item single click slot in labelDialog.py

In the original code, double clicking a list item will set the text property and automatically validate afterwards, with the label dialog window disappearing.

In this revised version, double click behavior is unchanged, while single click is added. When single clicking a list item, it will only set text in the QLineEdit. Users can change the text by clicking other items before validating themselves by clicking yes.

tzutalin/labelImg,tzutalin/labelImg