Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
lots of copy&paste again...
callback checks mainProject->last_loaded for index limits of mainProject->file and the rest is stolen from callbacks_layer_tree_visibility_button_toggled, which may be refactored together with this callback btw.
Great work...thanks Stefan. I modified the patch slightly to reduce the clutter in the View menu, but it looks great.