RWELabs / Stardew-Valley-Mod-Manager

[Passion Project] The Stardew Valley Mod Manager is a powerful tool that is designed to be used alongside SMAPI to help you install and manage mods, automatically install modpacks and manage your game saves.
Other
29 stars 1 forks source link

[Issue] SDVMP Generator allows you to click "Create Modpack" while a modpack is being created. #99

Closed RyanWalpole closed 2 years ago

RyanWalpole commented 2 years ago

The Issue or Bug

While the modpack is being created (after clicking "Create"), the application will allow the user to click the create button again. The application will not understand that there is already an operation in place, causing issues when multiple modpacks are trying to be created at once.

Version

220801, 220704 (Observed)

Operating System

Windows 11

Steps to reproduce the behavior

  1. Open "sdvmpgen.exe" from the application install directory.
  2. Select some zip files (doesn't have to be a mod as this is a demonstration only)
  3. Click "Create Modpack"
  4. Observe the "Create Modpack" button continue to stay clickable despite the modpack being created.
  5. Click the button again if you want

Log Files

No response

Screenshots

No response

Additional Context

No response

Suggested Resolution

Continue.Enabled = false on button click, Continue.Enabled = true on completion of modpack creation. Same should probably be done for the cancel and exit button as that can be pressed mid operation, causing issues also.