From 469e084f2aef9940d59018376cde330297adc122 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Wed, 12 Aug 2020 17:32:31 +0200 Subject: [PATCH] More fixes --- .../java/pro/litvinovg/w2phtml/gui/ConfigurationWindow.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(""); + } } } }