Fix ui helper

This commit is contained in:
Victor Shcherb 2014-11-07 20:00:28 +01:00
parent 9c168dd7f3
commit 0275990811

View file

@ -371,7 +371,7 @@ public class WaypointDialogHelper implements OsmAndLocationListener {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
IntermediatePointsDialog.openIntermediatePointsDialog(app.getMapActivity(), app, true); IntermediatePointsDialog.openIntermediatePointsDialog(a, app, true);
if (dlg != null) { if (dlg != null) {
dlg.dismiss(); dlg.dismiss();
} else if(a instanceof MapActivity){ } else if(a instanceof MapActivity){