Added conditional so that libraries that have been removed can be replaced without confirmation

This commit is contained in:
pesckal
2011-07-02 07:35:27 +00:00
parent df9b6a854b
commit 28b9ee81bb
+1 -1
View File
@@ -433,7 +433,7 @@ public class LibraryManager {
// library is installed twice without restarting the PDE.
for (Library oldLib : oldLibs) {
if (oldLib.getName().equals(lib.getName())) {
if (oldLib.getName().equals(lib.getName()) && oldLib.libraryFolder.exists()) {
int result = Base.showYesNoQuestion(editor, "Replace",
"Replace existing \"" + oldLib.getName() + "\" library?",