Skip to content

Commit

Permalink
Merge pull request #99 from huanxherta/master
Browse files Browse the repository at this point in the history
fix: Arg settings
  • Loading branch information
CubeWhy authored Oct 4, 2024
2 parents aae22e0 + 1f9e767 commit 565a64d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class GuiSettings : JScrollPane(panel, VERTICAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_
p3.add(wrapperInput)
val btnSetVMArgs = JButton(f.getString("gui.settings.jvm.args"))
btnSetVMArgs.addActionListener {
ArgsConfigDialog("vm-args", config).isVisible = true
ArgsConfigDialog("vmArgs", config.game).isVisible = true
}
panelVM.add(btnSetVMArgs)
panelVM.add(p3)
Expand Down Expand Up @@ -392,7 +392,7 @@ class GuiSettings : JScrollPane(panel, VERTICAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_
val btnProgramArgs = JButton(f.getString("gui.settings.game.args"))
btnProgramArgs.addActionListener {
ArgsConfigDialog(
"program-args",
"args",
config.game
).isVisible = true
}
Expand Down

0 comments on commit 565a64d

Please sign in to comment.