diff options
author | changhyun1.lee <changhyun1.lee@samsung.com> | 2014-06-20 14:09:34 +0900 |
---|---|---|
committer | changhyun Lee <changhyun1.lee@samsung.com> | 2014-06-19 22:14:54 -0700 |
commit | 52809435cea85e9e2a7fc47be27fab989e7cc805 (patch) | |
tree | ed39d438cb3b7ccef4d32db38bee540022f4c97e | |
parent | cf0f0236ce263ca3ff20b8ca8e84abe015e7ed6c (diff) | |
download | common-eplugin-52809435cea85e9e2a7fc47be27fab989e7cc805.tar.gz common-eplugin-52809435cea85e9e2a7fc47be27fab989e7cc805.tar.bz2 common-eplugin-52809435cea85e9e2a7fc47be27fab989e7cc805.zip |
EDITOR: Fixed project icon not updated in config.xml file
Change-Id: Ia764a3e092b9ae64351dfac33ffd85ed6dc37e00
Signed-off-by: changhyun1.lee <changhyun1.lee@samsung.com>
(cherry picked from commit a9a678d581f7c1af1fc931c546e06e1bc9e68a0e)
-rw-r--r-- | org.tizen.common/src/org/tizen/common/ui/dialog/NewIconDialog.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/org.tizen.common/src/org/tizen/common/ui/dialog/NewIconDialog.java b/org.tizen.common/src/org/tizen/common/ui/dialog/NewIconDialog.java index 2b9f8ad37..dfc04845c 100644 --- a/org.tizen.common/src/org/tizen/common/ui/dialog/NewIconDialog.java +++ b/org.tizen.common/src/org/tizen/common/ui/dialog/NewIconDialog.java @@ -285,12 +285,11 @@ public class NewIconDialog extends SelectionStatusDialog { ImageLoader loader = new ImageLoader(); loader.data = new ImageData[] { image.getImageData() }; loader.save(destFilePath, SWT.IMAGE_PNG); - } else { - if (!fPath.equals(destFilePath)) { - // Copy to raw image - FileUtil.copyTo(fPath, destFilePath); - iconFileName = FileUtil.getFileNameFromPath(destFilePath); - } + } + if (!fPath.equals(destFilePath)) { + // Copy to raw image + FileUtil.copyTo(fPath, destFilePath); + iconFileName = FileUtil.getFileNameFromPath(destFilePath); } destFile.getParent().refreshLocal(1, null); } catch (Exception e) { |