mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-25 18:15:55 +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:
parent
09186de7a8
commit
25e806172a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user