mirror of
https://github.com/BluePointLilac/ContextMenuManager.git
synced 2026-01-14 06:04:00 +08:00
修复命令为空时错误提示
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user