Issue #330: protection against adding the same multiple cyrillic characters doesn't work

This commit is contained in:
Honfika
2013-08-18 19:28:20 +02:00
parent 14b274c8d4
commit 6c5f974ed6
2 changed files with 1 additions and 1 deletions

View File

@@ -303,7 +303,6 @@ public class GraphFrame extends AppFrame {
}
private void setVisibleSize(Dimension dim) {
setSize(new Dimension(dim.width + frameWidthDiff, dim.height + frameHeightDiff));
}

View File

@@ -2192,6 +2192,7 @@ public class MainFrame extends AppRibbonFrame implements ActionListener, TreeSel
char c = newchars.charAt(i);
if (oldchars.indexOf((int) c) == -1) {
f.addCharacter(swf.tags, c, fontSelection.getSelectedItem().toString());
oldchars += c;
}
}
fontAddCharactersField.setText("");