diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-05-05 15:00:38 +0000 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-05-05 15:00:38 +0000 |
commit | fc1943e743aef85b907584ac6e38131dd40e36c6 (patch) | |
tree | f3e44b849baec21241b46d2721d357ba6562cdf5 /src/GipfelWidget.cxx | |
parent | 767ef733aa52ca53e2ee1bb1a37107c5fdf11e3b (diff) |
move label when moving mountain
move label when moving mountain
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r-- | src/GipfelWidget.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 2ee9457..7a6343d 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -1,5 +1,5 @@ // -// "$Id: GipfelWidget.cxx,v 1.21 2005/05/05 15:24:43 hofmann Exp $" +// "$Id: GipfelWidget.cxx,v 1.22 2005/05/05 17:00:38 hofmann Exp $" // // PSEditWidget routines. // @@ -225,7 +225,8 @@ GipfelWidget::set_mountain(int m_x, int m_y) { cur_mountain->x = m_x - center_x; cur_mountain->y = m_y - center_y; - + cur_mountain->label_y = cur_mountain->y; + redraw(); return 0; } |