From c32a444926402c33c1cd04dc688fa744c8d187db Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 26 Jul 2013 09:30:46 +0200 Subject: Do not restrict number of acuqisitions --- bin/gui/control.c | 2 ++ bin/gui/control.glade | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/gui/control.c b/bin/gui/control.c index 75752cc..b210e16 100644 --- a/bin/gui/control.c +++ b/bin/gui/control.c @@ -719,6 +719,8 @@ create_main_window (GtkBuilder *builder, const gchar* camera_name) gtk_adjustment_set_value (max_bin_adjustment, pow (2, bits_per_sample) - 1); + gtk_adjustment_set_upper (td.count, (gdouble) G_MAXULONG); + g_message ("Allocated memory for %d frames", n_frames); td.pixel_size = pixel_size; diff --git a/bin/gui/control.glade b/bin/gui/control.glade index a6b50d7..d4b663e 100644 --- a/bin/gui/control.glade +++ b/bin/gui/control.glade @@ -296,7 +296,7 @@ True True - 5 + 6 acquisitions-adjustment @@ -351,7 +351,7 @@ True True - 5 + 6 False @@ -978,7 +978,6 @@ 10 - 100 1 10 -- cgit v1.2.3