Skip to content

Commit 23f09f2

Browse files
committed
FIX: voice was mandatory in the edit option dialog.
1 parent 6797b15 commit 23f09f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adventure-editor/src/main/java/com/bladecoder/engineeditor/ui/EditOptionDialog.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ public EditOptionDialog(Skin skin, Dialog parent, DialogOption e, int pos) {
4747

4848
text = InputPanelFactory.createInputPanel(skin, "Text", "The sentence of the dialog to say by the player",
4949
Type.SMALL_TEXT, true);
50-
voice = InputPanelFactory.createInputPanel(skin, "Voice", "The voice filename",
51-
Type.VOICE, true);
50+
voice = InputPanelFactory.createInputPanel(skin, "Voice", "The voice filename for the player lines",
51+
Type.VOICE, false);
5252
responseText = InputPanelFactory.createInputPanel(skin, "Response Text", "The response said by the character",
5353
Type.TEXT, false);
54-
responseVoice = InputPanelFactory.createInputPanel(skin, "Response Voice", "The voice filename for the response",
54+
responseVoice = InputPanelFactory.createInputPanel(skin, "Response Voice", "The voice filename for the response lines",
5555
Type.VOICE, false);
5656
verb = InputPanelFactory.createInputPanel(skin, "Verb", "The verb to execute when choosing this option");
5757
next = InputPanelFactory.createInputPanel(skin, "Next Dialog",
@@ -66,7 +66,7 @@ public EditOptionDialog(Skin skin, Dialog parent, DialogOption e, int pos) {
6666
text.getCell(text.getField()).fillX();
6767
responseText.getCell(responseText.getField()).fillX();
6868

69-
init(parent, e, new InputPanel[] { text, voice, responseText, responseVoice, verb, next, visible, once });
69+
init(parent, e, new InputPanel[] { text, responseText, voice, responseVoice, verb, next, visible, once });
7070
}
7171

7272
@Override

0 commit comments

Comments
 (0)