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 {