summaryrefslogtreecommitdiffstats
path: root/bin/gui/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gui/control.c')
-rw-r--r--bin/gui/control.c2
1 files changed, 2 insertions, 0 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;