diff options
-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; |