修复命令为空时错误提示

This commit is contained in:
蓝点lilac
2020-12-30 20:57:55 +08:00
parent 28999005ed
commit ce21f67d46

View File

@@ -40,9 +40,9 @@ namespace ContextMenuManager.Controls
MessageBoxEx.Show(AppString.MessageBox.TextCannotBeEmpty);
return;
}
if(Command.IsNullOrWhiteSpace())
if(FullCommand.IsNullOrWhiteSpace())
{
MessageBoxEx.Show(AppString.MessageBox.TextCannotBeEmpty);
MessageBoxEx.Show(AppString.MessageBox.CommandCannotBeEmpty);
return;
}
FilePath = ObjectPath.ExtractFilePath(Command);