From e468e17ec725c016e45439d5373fbb70b55c77d6 Mon Sep 17 00:00:00 2001 From: Nils Schmidt Date: Mon, 7 Mar 2016 22:20:00 +0100 Subject: [PATCH] Prepared fix for issue #84. --- .../composites/compositetab/CompositeTabState.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/nschmidt/ldparteditor/composites/compositetab/CompositeTabState.java b/src/org/nschmidt/ldparteditor/composites/compositetab/CompositeTabState.java index 3ba51f36a..291541a3f 100644 --- a/src/org/nschmidt/ldparteditor/composites/compositetab/CompositeTabState.java +++ b/src/org/nschmidt/ldparteditor/composites/compositetab/CompositeTabState.java @@ -24,6 +24,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of import org.nschmidt.ldparteditor.data.DatFile; import org.nschmidt.ldparteditor.enums.MyLanguage; import org.nschmidt.ldparteditor.i18n.I18n; +import org.nschmidt.ldparteditor.logger.NLogger; import org.nschmidt.ldparteditor.project.Project; import org.nschmidt.ldparteditor.shells.editortext.EditorTextWindow; import org.nschmidt.ldparteditor.text.LDParsingException; @@ -126,7 +127,7 @@ public void setFileNameObj(DatFile fileNameObj) { datFileObj.setText(""); //$NON-NLS-1$ datFileObj.setOriginalText(""); //$NON-NLS-1$ getTab().getTextComposite().setEditable(false); - e.printStackTrace(); + NLogger.error(getClass(), e); } catch (UnsupportedEncodingException e) { Object[] messageArguments = {fileNameObj.getOldName()}; MessageFormat formatter = new MessageFormat(""); //$NON-NLS-1$