diff options
Diffstat (limited to 'atari/history.c')
-rwxr-xr-x | atari/history.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/atari/history.c b/atari/history.c index 6d52c4e91..aa32cbf7e 100755 --- a/atari/history.c +++ b/atari/history.c @@ -83,7 +83,7 @@ static short handle_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8]) { NSTREEVIEW tv=NULL; - printf("Hotlist event %d, open: %d\n", ev_out->emo_events, gl_history.open); + //printf("Hotlist event %d, open: %d\n", ev_out->emo_events, gl_history.open); if(ev_out->emo_events & MU_MESAG){ switch (msg[0]) { @@ -121,6 +121,8 @@ bool global_history_init( void ) gl_history.tv = atari_treeview_create(history_global_get_tree_flags(), gl_history.window, handle_event); + gemtk_wm_unlink(gl_history.window); + if (gl_history.tv == NULL) { /* TODO: handle it properly, clean up previous allocs */ LOG(("Failed to allocate history treeview")); |