51st-Vfw / JAFDTC

JAFDTC DTC tool for DCS
GNU General Public License v3.0
0 stars 1 forks source link

Fixes and tweaks in the Navpoint Editor #59

Closed fizzle77 closed 5 months ago

fizzle77 commented 5 months ago

Fixes

  1. Importing POIs to navpoints would replace even if you selected append.
  2. Import from DCS (Send to JAFDTC from in-game Lua dialog) wasn't correctly doing a config save and UI update.
  3. The navpoint list was overflowing over the Link/Reset buttons at the bottom.
  4. In the A-10 waypoint upload, ensure the CDU scratchpad is empty before starting.

Tweaks

I tried to streamline the flow where you create a bunch of navpoints from the in-game F10 map, send them to JAFDTC, then want to tweak them before uploading them to the jet.

  1. Added MaxNameLength to IEditNavpointPageHelper. If an airframe specifies a max length, the navpoint name TextBox gets a yellow warning highlight when the name exceeds it. The change will still save in this state, it's just a visual warning that the name will be truncated.
  2. Automatically focus the name field, and select its text, when the navpoint edit page loads. This makes changing the name or tabbing to other fields easy. No reaching for the mouse.
  3. Add keyboard shortcuts (ctrl+enter, ctrl+shift+enter) for the next/prev buttons. Still no reaching for the mouse.

wp-editor