Browse Source

Fixed a crash using -generate in BeefBuild

Brian Fiete 5 years ago
parent
commit
82ca799470
1 changed files with 2 additions and 0 deletions
  1. 2 0
      IDE/src/IDEApp.bf

+ 2 - 0
IDE/src/IDEApp.bf

@@ -9658,7 +9658,9 @@ namespace IDE
 			if (projectSource == null)
 			if (projectSource == null)
 				return;
 				return;
 
 
+#if !CLI
 			ShowSourceFile(srcPath);
 			ShowSourceFile(srcPath);
+#endif
 		}
 		}
 
 
         protected bool Compile(CompileKind compileKind = .Normal, Project hotProject = null)
         protected bool Compile(CompileKind compileKind = .Normal, Project hotProject = null)