增加保温层和整理管线的功能,修复自动保存功能等修复多个bug
This commit is contained in:
@@ -40,7 +40,7 @@ public partial class RenameTypeViewModel : ObservableObject
|
||||
|
||||
[ObservableProperty]
|
||||
private bool isRunning;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 选中正在使用中的条目
|
||||
/// </summary>
|
||||
@@ -161,11 +161,11 @@ public partial class RenameTypeViewModel : ObservableObject
|
||||
foreach (var renameItem in selectedItems)
|
||||
{
|
||||
var tempName = renameItem.OldTypeName;
|
||||
//手动修改的新名称不处理
|
||||
if (!string.IsNullOrEmpty(renameItem.NewTypeName))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
////手动修改的新名称不处理
|
||||
//if (!string.IsNullOrEmpty(renameItem.NewTypeName))
|
||||
//{
|
||||
// continue;
|
||||
//}
|
||||
if (!string.IsNullOrEmpty(FoundText))
|
||||
{
|
||||
tempName = tempName.Replace(FoundText, string.IsNullOrEmpty(ReplaceText) ? string.Empty : ReplaceText);
|
||||
|
||||
Reference in New Issue
Block a user