jiayouxjh / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Killing current page can leave no active layers #264

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Killing the current layer leaves all layers hidden and causes segfault when
trying to draw.

How to reproduce:

1. Add few layers.
2. Activate the last layer in the list.
3. Hide all the other layers, except the one that's active.
3. Kill the active layer.

This is svn r1226 on linux

Original issue reported on code.google.com by pasi.kal...@gmail.com on 28 Nov 2009 at 11:20

GoogleCodeExporter commented 9 years ago
Thanks. I had thought of Undo and Redo, but forgot about Kill. And even for 
Undo and
Redo, I forgot to force the active layer to be visible.
Fixed in r1233.

Original comment by yrizoud on 1 Dec 2009 at 11:53