File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1409,6 +1409,11 @@ public void handleAddFile() {
1409
1409
* @return true if successful.
1410
1410
*/
1411
1411
public boolean addFile (File sourceFile ) {
1412
+ if (sourceFile .isDirectory ()) {
1413
+ System .err .println ("Skipping folder " + sourceFile );
1414
+ System .err .println ("Dragging and dropping a folder is not supported." );
1415
+ return false ;
1416
+ }
1412
1417
String filename = sourceFile .getName ();
1413
1418
File destFile = null ;
1414
1419
String codeExtension = null ;
Original file line number Diff line number Diff line change 2
2
X fix logic for opening the correct 'main' tab in handleOpen()
3
3
X opening AspectHelper.js makes it the main tab
4
4
X through sketch.properties is not rewritten
5
-
6
-
7
- _ dropping folder into sketch window throws weird exception
8
- _ https://github.com/processing/processing4/issues/441
5
+ X dropping folder into sketch window throws weird exception
6
+ X https://github.com/processing/processing4/issues/441
9
7
10
8
_ clicking "Update All" on the Updates tab throws NPE
11
9
_ https://github.com/processing/processing4/issues/440
You can’t perform that action at this time.
0 commit comments