Improve readability, add uncommitted change
This commit is contained in:
parent
50ec91ea2f
commit
6441440764
2 changed files with 2 additions and 3 deletions
|
|
@ -809,7 +809,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
return ApplicationController.Instance.IsLoadableFile(filePath)
|
||||
// Disallow GCode drop in part view
|
||||
&& (this.Printer != null || string.Equals(System.IO.Path.GetExtension(filePath), ".gcode", StringComparison.OrdinalIgnoreCase));
|
||||
&& (this.Printer != null || !string.Equals(System.IO.Path.GetExtension(filePath), ".gcode", StringComparison.OrdinalIgnoreCase));
|
||||
});
|
||||
|
||||
// View3DWidgets Filesystem DropDrop handler
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue