aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-07 15:38:30 +0200
committerThomas White <taw@physics.org>2020-09-07 17:11:26 +0200
commit6cd1f4a5a9c03559b71d44190270f12d3ad35bc5 (patch)
treeb20775d9ab35374c2a5b1fcc9d3637f1c5d90fe8 /src
parentd7d9c14116a4e1c41fe61a8caacc9129df62100e (diff)
Fix crystfel_indexing_opts_get_push_res
Diffstat (limited to 'src')
-rw-r--r--src/crystfelindexingopts.c2
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;