1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-05 04:28:28 +02:00

When deleting the locked frame, icon and internal reference weren't reset.

- gui_frame.c (popup_del_frame): when deleting a frame, notify the frame tool
  so that it can undo any locking



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5764 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner 2009-12-31 15:11:47 +00:00
parent 09186de7a8
commit 25e806172a

View File

@ -77,6 +77,7 @@ static void popup_del_frame(void)
struct frame *frame = popup_data;
assert(frame != root_frame);
tool_frame_deleted(frame);
delete_frame(frame);
if (active_frame == frame)
select_frame(root_frame);