iquercorb / OpenModMan

Open Mod Manager - Open source and generic Mod ("Modifications") manager.
GNU General Public License v3.0
95 stars 5 forks source link

[Bug Report] Spaces instead of Underscores in the Filename Preview #100

Closed PraetorAugustus closed 4 months ago

PraetorAugustus commented 4 months ago

Super small bug, but it gets me every time.

Current Behavior In the Mod-package editor when creating a new package, the Filename Preview doesn't transform spaces to underscores if the source folder doesn't have them.

OMM will (correctly) replace the spaces with underscores if I edit the Display Name, the Version, or Zip type.

Screenshot 2024-07-12 185352

Expected Behavior Filename Preview should have underscores instead of spaces when the dialog first displays.

Screenshot 2024-07-12 190019

It's easy to reproduce and happens every time, but let me know if you want more info.

Thanks.

iquercorb commented 4 months ago

Thanks for report, fixed in source code, will be corrected in the next release