}
//add state and stats hooks
- state_add_event_hooks_api(statistic_viewer_data->mw);
+ // state_add_event_hooks_api(statistic_viewer_data->mw); //it is 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 is done in the main window
stats_remove_event_hooks_api(statistic_viewer_data->mw);
}