perf: Mumu截图增强路径清空时不再检查路径是否存在

This commit is contained in:
status102
2024-08-29 20:20:36 +08:00
parent ec42d503e0
commit ed449bb04f

View File

@@ -4042,7 +4042,7 @@ namespace MaaWpfGui.ViewModels.UI
get => _emulatorPath;
set
{
if (_enable && !Directory.Exists(value))
if (_enable && !string.IsNullOrEmpty(value) && !Directory.Exists(value))
{
MessageBoxHelper.Show("MuMu Emulator 12 Path Not Found");
value = string.Empty;