}
//add state and stats hooks
- state_add_event_hooks_api(statistic_viewer_data->mw);
+ //state_add_event_hooks_api(statistic_viewer_data->mw); //it will be added in the main window
stats_add_event_hooks_api(statistic_viewer_data->mw);
}
}
//remove state and stats hooks
- state_remove_event_hooks_api(statistic_viewer_data->mw);
+ //state_remove_event_hooks_api(statistic_viewer_data->mw); //it will be done in the main window
stats_remove_event_hooks_api(statistic_viewer_data->mw);
}