diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-03-25 13:04:28 +0100 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-03-25 13:04:28 +0100 |
commit | 7d08bfc1034726b1794cea6ebdc953ab0bd965da (patch) | |
tree | 9c1687ee38816ace7b9e932fb418f060ca8a8f36 | |
parent | 3567b24150d1607f98f7d64bbddf0ba1cd0cfce0 (diff) | |
download | pdf-over-7d08bfc1034726b1794cea6ebdc953ab0bd965da.tar.gz pdf-over-7d08bfc1034726b1794cea6ebdc953ab0bd965da.tar.bz2 pdf-over-7d08bfc1034726b1794cea6ebdc953ab0bd965da.zip |
refactor
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java index 472bca38..2f2fef0e 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java @@ -426,10 +426,6 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { } } - private void setEmblemFile(final String filename) throws Exception { - setEmblemFileInternal(filename, false); - } - private void setEmblemFileInternal(final String filename, boolean force) throws Exception { if (!force && this.configurationContainer.getEmblem() != null) { @@ -494,7 +490,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { void processEmblemChanged(String filename) { try { - setEmblemFile(filename); + setEmblemFileInternal(filename, false); } catch (Exception ex) { log.error("processEmblemChanged: ", ex); //$NON-NLS-1$ ErrorDialog dialog = new ErrorDialog( |