summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/GipfelWidget.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index 8a358db..0a89e53 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -647,6 +647,8 @@ GipfelWidget::handle(int event) {
redraw();
}
} else if (Fl::event_button() == FL_RIGHT_MOUSE) {
+ focused_mountain = NULL;
+
Fl_Menu_Button rclick_menu(Fl::event_x_root(),
Fl::event_y_root(), 80, 1);
Hill *m = find_mountain(pan->get_visible_mountains(),