Refactoring and making default name better

This commit is contained in:
Lars Brubaker 2022-01-24 14:49:29 -08:00
parent 22e0cd375b
commit 2394e742a3
20 changed files with 129 additions and 109 deletions

View file

@ -1,5 +1,5 @@
/*
Copyright (c) 2018, Lars Brubaker, John Lewin
Copyright (c) 2022, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without

View file

@ -515,7 +515,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
var imageBuffer = new ImageBuffer(thumbWidth, thumbWidth);
var title = new FileInfo(item.Path).LastWriteTime.ToString("MMMM d h:mm tt");
var title = new FileInfo(item.FilePath).LastWriteTime.ToString("MMMM d h:mm tt");
var bedHistory = subMenu.CreateMenuItem(title, imageBuffer);
bedHistory.GutterWidth = gutterWidth;