mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-04 05:35:52 +00:00
Minor tweaks to frontend code
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
- Return full result from dump checks
|
||||
- Fix logic from around Macrovision security driver filtering
|
||||
- Remove SkipMediaTypeDetection option, cleanup options window
|
||||
- Minor tweaks to frontend code
|
||||
|
||||
### 3.4.0 (2025-09-25)
|
||||
|
||||
|
||||
@@ -674,7 +674,7 @@ namespace MPF.Frontend.ViewModels
|
||||
|
||||
// Set the selected index
|
||||
CurrentDrive = (index != -1 ? Drives[index] : Drives[0]);
|
||||
Status = "Valid drive found! Choose your Media Type";
|
||||
Status = "Valid drive found!";
|
||||
CopyProtectScanButtonEnabled = true;
|
||||
|
||||
// Get the current system type
|
||||
@@ -1359,6 +1359,10 @@ namespace MPF.Frontend.ViewModels
|
||||
/// </summary>
|
||||
public void EnsureMediaInformation()
|
||||
{
|
||||
// If the drive list is empty, ignore updates
|
||||
if (Drives.Count == 0)
|
||||
return;
|
||||
|
||||
// Get the current environment information
|
||||
_environment = DetermineEnvironment();
|
||||
|
||||
@@ -2112,8 +2116,7 @@ namespace MPF.Frontend.ViewModels
|
||||
/// </summary>
|
||||
private bool ShouldEnableDumpingButton()
|
||||
{
|
||||
return Drives != null
|
||||
&& Drives.Count > 0
|
||||
return Drives.Count > 0
|
||||
&& CurrentSystem != null
|
||||
&& CurrentMediaType != null
|
||||
&& ProgramSupportsMedia();
|
||||
|
||||
Reference in New Issue
Block a user