cnr-isti-vclab / TagLab

A CNN based image segmentation tool oriented to marine data analysis
https://taglab.isti.cnr.it/
GNU General Public License v3.0
84 stars 33 forks source link

Fix #24 Quickfix by inspecting for potentially empty objects #25

Closed cappelletto closed 2 years ago

cappelletto commented 2 years ago

Right Click -> Select All in the Note edit box was triggering an error as it was notifying about a change on a non-existing object. A quickfix is to inspect activeviewer object in noteChanged(self) before querying for number of selected objects. If the object is empty (None) the just return

maxcorsini commented 2 years ago

Thank you for this fix.