summaryrefslogtreecommitdiff
path: root/src/GipfelWidget.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-07 18:47:41 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-07 18:47:41 +0100
commita0c541f8245a58ee5cc5192e419d98a942ecdfb9 (patch)
treef18aabe972ca2a9f9307716289d1108f789263aa /src/GipfelWidget.cxx
parentec30dd0c55012c656b3ff419b4b098519955ad9a (diff)
move fix for Stitch problem to GipfelWidget constructor
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r--src/GipfelWidget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index 9dadba1..c851e65 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -32,6 +32,7 @@
static double pi_d, deg2rad;
GipfelWidget::GipfelWidget(int X,int Y,int W, int H): Fl_Group(X, Y, W, H) {
+ end();
pi_d = asin(1.0) * 2.0;
deg2rad = pi_d / 180.0;
img = NULL;