summaryrefslogtreecommitdiff
path: root/components/rtgui/widgets/workbench.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-06-29 14:45:59 +0000
committer[email protected] <[email protected]>2011-06-29 14:45:59 +0000
commitce01644d0dd101e17d625dc2753cd03fb5cf3813 (patch)
treeaf16c059a12ae9c5272cbf5d3e222b4b79f6a807 /components/rtgui/widgets/workbench.c
parentcfd580edf472f4a596434f27c398ac74712ab169 (diff)
clean code and mirror change for desktop application
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1552 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/widgets/workbench.c')
-rw-r--r--components/rtgui/widgets/workbench.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/rtgui/widgets/workbench.c b/components/rtgui/widgets/workbench.c
index 1e57df70a9..4dd3f7e6e8 100644
--- a/components/rtgui/widgets/workbench.c
+++ b/components/rtgui/widgets/workbench.c
@@ -147,6 +147,7 @@ void rtgui_workbench_close(rtgui_workbench_t* workbench)
/* detach from panel */
edetach.panel = workbench->panel;
+ edetach.workbench = workbench;
/* send PANEL DETACH to server */
if (rtgui_thread_send_sync(RTGUI_TOPLEVEL(workbench)->server,