diff --git a/src/main/java/pro/litvinovg/w2phtml/gui/ConfigurationWindow.java b/src/main/java/pro/litvinovg/w2phtml/gui/ConfigurationWindow.java index 0a4e82f..f66f014 100644 --- a/src/main/java/pro/litvinovg/w2phtml/gui/ConfigurationWindow.java +++ b/src/main/java/pro/litvinovg/w2phtml/gui/ConfigurationWindow.java @@ -645,7 +645,9 @@ public class ConfigurationWindow extends JFrame { File metaFile = new File(metadataPath); if (metaFile.exists() && metaFile.canRead()){ tf_MetadataFile.setText(metadataPath); - } + } else { + tf_MetadataFile.setText(""); + } } } }