Fix for incorrect message when creating a gcode file that is too big to load.
This commit is contained in:
parent
b1a5f4200c
commit
df21f25361
1 changed files with 2 additions and 1 deletions
|
|
@ -865,7 +865,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
if (gcodeViewWidget != null
|
||||
&& gcodeViewWidget.LoadedGCode == null)
|
||||
{
|
||||
if (GCodeFile.FileTooBigToLoad(printItem.FileLocation))
|
||||
// If we have finished loading the gcode and the source file exists but we don't have any loaded gcode it is because the loaded decided to not load it.
|
||||
if (File.Exists(printItem.FileLocation))
|
||||
{
|
||||
SetProcessingMessage(string.Format(fileTooBigToLoad, printItem.Name));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue