mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-01 12:11:25 +00:00
Issue #330: protection against adding the same multiple cyrillic characters doesn't work
This commit is contained in:
@@ -303,7 +303,6 @@ public class GraphFrame extends AppFrame {
|
||||
}
|
||||
|
||||
private void setVisibleSize(Dimension dim) {
|
||||
|
||||
setSize(new Dimension(dim.width + frameWidthDiff, dim.height + frameHeightDiff));
|
||||
}
|
||||
|
||||
|
||||
@@ -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("");
|
||||
|
||||
Reference in New Issue
Block a user