|
@@ -217,7 +217,7 @@ namespace FurnaceUI.Views.Recipes
|
|
|
private List<FileNode> _recipeFileList = new List<FileNode>();
|
|
|
public List<FileNode> RecipeFileList
|
|
|
{
|
|
|
- get { return _recipeFileList; }
|
|
|
+ get { return _recipeFileList != null ? _recipeFileList.OrderByDescending(a => a.ReviseTime).ToList(): _recipeFileList; }
|
|
|
set { _recipeFileList = value; this.NotifyOfPropertyChange(nameof(RecipeFileList)); }
|
|
|
}
|
|
|
|
|
@@ -975,7 +975,7 @@ namespace FurnaceUI.Views.Recipes
|
|
|
string recipeName = dialog.FileName.Trim();
|
|
|
string filepath = dialog.FilePath;
|
|
|
string description = dialog.Comment;
|
|
|
-
|
|
|
+
|
|
|
|
|
|
string prefix;
|
|
|
if (filepath.Contains("\\"))
|
|
@@ -1469,7 +1469,7 @@ namespace FurnaceUI.Views.Recipes
|
|
|
return;
|
|
|
}
|
|
|
});
|
|
|
- CurrentFileNode=null;
|
|
|
+ CurrentFileNode = null;
|
|
|
}
|
|
|
|
|
|
public void ReloadRecipe()
|