Closed hfiguiere closed 10 years ago
Fixed in master branch. Thanks a lot again for the detailed report.
By the way, those empty layers are just a temporary "dirty trick" to force the tree items correspoding to group layers to be shown as expandable, even when the group is empty... I still have to find a clean way to implement that.
You can put disabled tree item with some phony label at least. But yeah GtkTreeItem aren't very nice for that use case.
My idea was to use Gtk::TreeModelFilter to hide those rows, but I still need to check that this would work as I expect (i.e. have tree items that look at the same time expanable and "empty").
Open TestImages/curves.pfi
Click in the layer that has no label (checkbox is unchecked)
It crashes.