MTrop / DoomTools

Doom-related tools for Java. Home of DECOHack and lots of other utilities. Build WAD projects (and soon, other kinds) with ease!
https://mtrop.github.io/DoomTools/
MIT License
46 stars 5 forks source link

[WTExport-GUI] Texture WADs list is not restored from the *.dtw file #104

Closed Zalewa closed 11 months ago

Zalewa commented 11 months ago

Doomtools version 2023-08-02

Steps

  1. Run doomtools-gui.exe.
  2. Tools | Textures | WTEXport
  3. Add a bunch of files to the Textures WADs list.
  4. File | Save Workspace - save the *.dtw file.
  5. Quit program.
  6. Run program again.
  7. File | Open Workspace - select the previously saved *.dtw file.

Result

Files do not reappear on the Textures WADs list.

Extra info

If you inspect the *.dtw file in a text editor, there is a WTExportApp section and the files.X entries appear in the state dict. It looks like the files are saved, but not loaded.

There is a similar file list in the WTexScanApp section, and the files are loaded properly there.

MTrop commented 11 months ago

Hmmm... the files are loaded, but not set in the panel. Easy fix (along with some other fixes).

MTrop commented 11 months ago

Fixed in commit ae0756b330cd4772d36a5d2b70fea39155695b8c.