From 81f877ffde3e67ef7e7b0dd0aa799d7c032ab37d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 31 Mar 2009 14:18:34 +0100 Subject: Kick the reprojection mechanism when we load a cell --- src/basis.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/basis.c b/src/basis.c index 37fedba..2736d0e 100644 --- a/src/basis.c +++ b/src/basis.c @@ -22,6 +22,7 @@ #include "basis.h" #include "utils.h" #include "displaywindow.h" +#include "reproject.h" static void basis_print(Basis *cell) { @@ -224,6 +225,7 @@ static gint basis_load_response(GtkWidget *widget, gint response, ctx->dw); } else { displaywindow_update(ctx->dw); + reproject_lattice_changed(ctx); } g_free(filename); } -- cgit v1.2.3