Build: reset error notification before each build.

fix T2972
This commit is contained in:
Mykyta Biliavskyi 2015-12-29 11:34:59 +09:00
parent e264bc5f95
commit a40b144128
2 changed files with 3 additions and 1 deletions

View File

@ -125,6 +125,7 @@ void
build_edc(void)
{
build_data *bd = g_bd;
bd->noti_cb(bd->noti_data, NULL);
build_cmd_set(bd);

View File

@ -162,7 +162,8 @@ call_error:
edit_ctxpopup_dismiss(pd->ed);
if (line_num || target)
edit_syntax_color_full_apply(pd->ed, EINA_TRUE);
evas_object_smart_callback_call(pd->obj, SIG_COMPILE_ERROR, (char *)msg);
if (msg)
evas_object_smart_callback_call(pd->obj, SIG_COMPILE_ERROR, (char *)msg);
}