From 7acf9464b22ce160528c30e129850acbef662800 Mon Sep 17 00:00:00 2001 From: CjangCjengh <101577701+CjangCjengh@users.noreply.github.com> Date: Mon, 31 Oct 2022 18:08:05 +0800 Subject: [PATCH] fix --- MoeGoe_GUI/MainWin.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MoeGoe_GUI/MainWin.cs b/MoeGoe_GUI/MainWin.cs index 03ab9fa..55947c8 100644 --- a/MoeGoe_GUI/MainWin.cs +++ b/MoeGoe_GUI/MainWin.cs @@ -1009,8 +1009,8 @@ private void W2V2Model_Click(object sender, EventArgs e) private void W2V2Path_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '\r') - if (!Directory.Exists(W2V2Path.Text)) - MessageBox.Show("文件夹不存在!", "", + if (!File.Exists(W2V2Path.Text)) + MessageBox.Show("文件不存在!", "", MessageBoxButtons.OK, MessageBoxIcon.Error); else {