X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fgui%2Fprofile%2FProfileChart.java;h=0dcabcb66785b06f1dd9730fc7f3a7025e34d89e;hp=732669a956dcd48bf719848e5223b2b77bf989fe;hb=8c8868ae29b3252f02e094c02307384cf61ba667;hpb=7f5ed2be62905bd37717376dc22d09e5ea7edb4d diff --git a/tim/prune/gui/profile/ProfileChart.java b/tim/prune/gui/profile/ProfileChart.java index 732669a..0dcabcb 100644 --- a/tim/prune/gui/profile/ProfileChart.java +++ b/tim/prune/gui/profile/ProfileChart.java @@ -259,7 +259,7 @@ public class ProfileChart extends GenericDisplay implements MouseListener /** * Make the popup menu for right-clicking the chart */ - private void makePopup() + private synchronized void makePopup() { _popup = new JPopupMenu(); JMenuItem altItem = new JMenuItem(I18nManager.getText("fieldname.altitude"));