mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Do not create project files if there were problems during project generation
This commit is contained in:
+2
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -68,6 +68,7 @@ public class PythonGenerateProjectCallback implements NullableConsumer<ProjectSe
|
||||
final boolean result = beforeProjectGenerated.fun((PythonProjectGenerator)generator);
|
||||
if (!result) {
|
||||
Messages.showWarningDialog("Project can not be generated", "Error in Project Generation");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user