Fixed Dialog IndexOutOfBounds
This commit is contained in:
parent
3209f8f674
commit
1e1c685530
@ -60,6 +60,8 @@ public class Dialog {
|
||||
}
|
||||
|
||||
private void showByChar() {
|
||||
if (charNumber >= textLength)
|
||||
return;
|
||||
String string = text.substring(0, charNumber);
|
||||
JLabel textToShow = prepareDialogBar(string);
|
||||
if (dialogBar.getComponentCount() != 0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user