mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-03 21:29:27 +00:00
[PR #654] [MERGED] Hide unavailable dumping programs #1087
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SabreTools/MPF/pull/654
Author: @Deterous
Created: 2/21/2024
Status: ✅ Merged
Merged: 2/21/2024
Merged by: @mnadareski
Base:
master← Head:hide-internal-programs📝 Commits (1)
bd5f55dHide unavailable dumping programs📊 Changes
3 files changed (+57 additions, -11 deletions)
View changed files
📝
CHANGELIST.md(+1 -0)📝
MPF.Core/DumpEnvironment.cs(+12 -3)📝
MPF.Core/UI/ViewModels/MainViewModel.cs(+44 -8)📄 Description
If a dumping program has been deleted from the
Programs/folder, or it was not bundled with an MPF build, remove it from the list of selectable dumping programs on the main window.If no programs are found, warn the user.
This is an attempt at a soft solution for #527 whereby support for dumping with DIC remains intact, but at some point in the future, MPF releases can be packaged without bundled DIC, and users who wish to dump with DIC will just need to add it to the
Programs/folder.Perhaps something similar needs adding to the Default Dumping Program dropdown in the Options window, but for now it works fine if the default program is not available. Having a default program that doesn't exist (yet) could be a desired option anyway?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.