aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-06-23 12:11:32 +0200
committerThomas White <taw@physics.org>2021-06-23 12:12:03 +0200
commit49d918f6ac5f41bbd157e4952a4e5f9e2bfd3d8c (patch)
tree43e5b1435f60a90298be000770895290ace3dcb6 /src
parenta284b602fcecfb6450cdbaf1f48275c84e3dce9b (diff)
CrystFELSymmetrySelector: Set have_pg when PG is set via API
Diffstat (limited to 'src')
-rw-r--r--src/crystfelsymmetryselector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crystfelsymmetryselector.c b/src/crystfelsymmetryselector.c
index cb4e2a12..5c10e707 100644
--- a/src/crystfelsymmetryselector.c
+++ b/src/crystfelsymmetryselector.c
@@ -503,6 +503,7 @@ int crystfel_symmetry_selector_set_group_symbol(CrystFELSymmetrySelector *sel,
if ( pg_symbol != NULL ) {
GtkWidget *label = gtk_bin_get_child(GTK_BIN(sel));
gtk_label_set_text(GTK_LABEL(label), pg_symbol);
+ sel->have_pg = 1;
}
return 0;
}