rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=a7f5909c1edca6d696b57a6e1930ab2f8c705b0d
commit a7f5909c1edca6d696b57a6e1930ab2f8c705b0d Author: Andrii Kroitor <[email protected]> Date: Thu Jul 16 19:00:01 2015 +0300 Connector: update live view only when style is loaded --- src/bin/ui/connector.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/bin/ui/connector.c b/src/bin/ui/connector.c index 23594cc..ed8d8e1 100644 --- a/src/bin/ui/connector.c +++ b/src/bin/ui/connector.c @@ -950,8 +950,11 @@ _progress_end(void *data, PM_Project_Result result) } #endif /* HAVE_ENVENTOR */ - live_view_widget_style_unset(ap->live_view); - live_view_widget_style_set(ap->live_view, ap->project, ap->project->current_style); + if (ap->project->current_style) + { + live_view_widget_style_unset(ap->live_view); + live_view_widget_style_set(ap->live_view, ap->project, ap->project->current_style); + } splash_del(ap->splash); ap->splash = NULL; @@ -998,7 +1001,10 @@ _teardown_save_splash(void *data, Splash_Status status) STATUSBAR_PROJECT_SAVE_TIME_UPDATE(ap); ap->project->changed = false; - workspace_edit_object_recalc(ap->workspace); + + TODO("Check if this recalc is necessary"); + if (ap->project->current_style) + workspace_edit_object_recalc(ap->workspace); pm_project_thread_free(ap->pr_thread); ap->pr_thread = NULL; --
