diff options
author | Thomas White <taw@physics.org> | 2020-10-29 17:30:13 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-10-29 17:30:13 +0100 |
commit | 4e35c922741bee4312957a42d2d0cc16d4c7ad78 (patch) | |
tree | 4f2ffcc87a32178d94053334895cee8519a7a965 /src/crystfelsymmetryselector.c | |
parent | 4029011f2097165537b5425f20012d57fdf7ef9c (diff) |
Set all options in CrystFELMergeOpts
Diffstat (limited to 'src/crystfelsymmetryselector.c')
-rw-r--r-- | src/crystfelsymmetryselector.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crystfelsymmetryselector.c b/src/crystfelsymmetryselector.c index e8b1d0d6..219e4da6 100644 --- a/src/crystfelsymmetryselector.c +++ b/src/crystfelsymmetryselector.c @@ -81,6 +81,8 @@ char *crystfel_symmetry_selector_get_group_symbol(CrystFELSymmetrySelector *sel) int crystfel_symmetry_selector_set_group_symbol(CrystFELSymmetrySelector *sel, const char *pg_symbol) { - gtk_entry_set_text(GTK_ENTRY(sel->entry), pg_symbol); + if ( pg_symbol != NULL ) { + gtk_entry_set_text(GTK_ENTRY(sel->entry), pg_symbol); + } return 0; } |