cache clear fix, font list selected value fixed

This commit is contained in:
2014-12-19 13:30:21 +01:00
parent faafbb2c28
commit 907a97dfe9
2 changed files with 2 additions and 2 deletions
@@ -198,7 +198,7 @@ public class FontPanel extends javax.swing.JPanel {
String chars = ft.getCharacters(swf.tags);
fontCharactersTextArea.setText(chars);
setAllowSave(false);
String key = swf.getShortFileName() + "_" + ft.getFontId() + "_" + ft.getFontName();
String key = swf.getShortFileName() + "_" + ft.getFontId() + "_" + ft.getFontNameIntag();
String selectedFont;
@@ -131,9 +131,9 @@ public class TextPanel extends JPanel implements ActionListener {
TextTag textTag = (TextTag) item;
if (mainPanel.saveText(textTag, textValue.getText(), null)) {
setEditText(false);
item.getSwf().clearImageCache();
mainPanel.reload(true);
}
item.getSwf().clearImageCache();
}
break;
}