diff options
author | Thomas White <taw@physics.org> | 2020-09-07 15:38:30 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-09-07 17:11:26 +0200 |
commit | 6cd1f4a5a9c03559b71d44190270f12d3ad35bc5 (patch) | |
tree | b20775d9ab35374c2a5b1fcc9d3637f1c5d90fe8 /src | |
parent | d7d9c14116a4e1c41fe61a8caacc9129df62100e (diff) |
Fix crystfel_indexing_opts_get_push_res
Diffstat (limited to 'src')
-rw-r--r-- | src/crystfelindexingopts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crystfelindexingopts.c b/src/crystfelindexingopts.c index d908b5e7..d41c4ad9 100644 --- a/src/crystfelindexingopts.c +++ b/src/crystfelindexingopts.c @@ -618,7 +618,7 @@ int crystfel_indexing_opts_get_overpredict(CrystFELIndexingOpts *opts) float crystfel_indexing_opts_get_push_res(CrystFELIndexingOpts *opts) { - if ( gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(opts->limit_res)) ) { + if ( !gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(opts->limit_res)) ) { return INFINITY; } else { const gchar *text; |