keesverruijt / BR24radar_pi

OpenCPN radar plugin for Navico Broadband Radars (BR24, 3G, 4G models) [HISTORIC]
17 stars 25 forks source link

OCPN right click canvas menu is corrupt. #255

Closed Hakansv closed 7 years ago

Hakansv commented 7 years ago

Some BR24 parts of this menu has been destroyed and one function is doubled. Set MARPA target is double. "Radar Control..." and the translated "Radar Inställningar" would be the same? Delete (M)ARPA target is missing Delete all (M)ARPA targets is missing. See picture below:

rightclich menu

keesverruijt commented 7 years ago

I can get the double menu only if I switch languages (but then I also get crashes) or if I have 2 installations of the dll installed.

The "Delete (M)ARPA" records were only shown once you had any (M)ARPA targets, but then they would stay there even if the count dropped to zero. I have now fixed this -- the menu items are there always, but when the target count is zero the delete items are greyed out and cannot be clicked.

Hakansv commented 7 years ago

Fix confirmed. Thanks