mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
fix demo
This commit is contained in:
parent
5d887a7034
commit
3e30b0a8b1
@ -262,7 +262,7 @@ static ret_t on_open_window(void* ctx, event_t* e) {
|
||||
|
||||
(void)e;
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
/*for test only*/
|
||||
widget_on(WIDGET(e->target), EVT_CLICK, on_open_window, (void*)name);
|
||||
return RET_REMOVE;
|
||||
@ -306,7 +306,6 @@ static ret_t on_back_to_home(void* ctx, event_t* e) {
|
||||
widget_t* dialog = WIDGET(ctx);
|
||||
|
||||
dialog_quit(dialog, 0);
|
||||
window_manager_back_to_home(window_manager());
|
||||
|
||||
(void)e;
|
||||
return RET_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user