From 726ab3d3492c481af3f612f525231ba18dddf7a6 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Fri, 11 Oct 2013 20:08:53 +0200 Subject: call comp_params() automatically on release when more than 1 hill is marked --- src/Stitch.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Stitch.cxx') diff --git a/src/Stitch.cxx b/src/Stitch.cxx index 23bb4ad..7b9fc04 100644 --- a/src/Stitch.cxx +++ b/src/Stitch.cxx @@ -42,7 +42,7 @@ int Stitch::load_image(char *file) { for (int i = 0; i < MAX_PICS; i++) { if (gipf[i] == NULL) { - gipf[i] = new GipfelWidget(0, 0, 800, 600); + gipf[i] = new GipfelWidget(0, 0, 800, 600, NULL); if (gipf[i]->load_image(file) != 0) { delete gipf[i]; gipf[i] = NULL; -- cgit v1.2.3