Make java dir text field text clearer
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<Group type="102" attributes="0">
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="tabVersionEdit" alignment="1" pref="766" max="32767" attributes="0"/>
|
||||
<Component id="tabVersionEdit" alignment="1" max="32767" attributes="0"/>
|
||||
<Group type="102" alignment="1" attributes="0">
|
||||
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
||||
<Component id="btnMakeLaunchScript" min="-2" max="-2" attributes="0"/>
|
||||
|
||||
@@ -1147,7 +1147,7 @@ public final class GameSettingsPanel extends RepaintPage implements DropTargetLi
|
||||
if (idx != -1) {
|
||||
Java j = Java.JAVA.get(idx);
|
||||
txtJavaDir.setText(j.getHome() == null ? Settings.getLastProfile().getSelectedVersionSetting().getSettingsJavaDir() : j.getJava());
|
||||
txtJavaDir.setEnabled(idx == 1);
|
||||
txtJavaDir.setEditable(idx == 1);
|
||||
if (!isLoading)
|
||||
Settings.getLastProfile().getSelectedVersionSetting().setJava(j);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user