From 25e806172a1b6f2ec26bb359c972c1f7ba34fbfc Mon Sep 17 00:00:00 2001 From: werner Date: Thu, 31 Dec 2009 15:11:47 +0000 Subject: [PATCH] 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 --- gui_frame.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gui_frame.c b/gui_frame.c index 74cfb03..725341b 100644 --- a/gui_frame.c +++ b/gui_frame.c @@ -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);