File tree Expand file tree Collapse file tree
HMCL/src/main/java/org/jackhuang/hmcl/ui/main Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,14 +226,14 @@ public SettingsPage() {
226226
227227 {
228228 MultiFileItem <EnumCommonDirectory > fileCommonLocation = new MultiFileItem <>();
229- fileCommonLocation .selectedDataProperty ().bindBidirectional (config ().commonDirTypeProperty ());
230229 fileCommonLocation .loadChildren (Arrays .asList (
231230 new MultiFileItem .Option <>(i18n ("launcher.cache_directory.default" ), EnumCommonDirectory .DEFAULT ),
232231 new MultiFileItem .FileOption <>(i18n ("settings.custom" ), EnumCommonDirectory .CUSTOM )
233232 .setChooserTitle (i18n ("launcher.cache_directory.choose" ))
234233 .setDirectory (true )
235234 .bindBidirectional (config ().commonDirectoryProperty ())
236235 ));
236+ fileCommonLocation .selectedDataProperty ().bindBidirectional (config ().commonDirTypeProperty ());
237237
238238 ComponentSublist fileCommonLocationSublist = new ComponentSublist ();
239239 fileCommonLocationSublist .getContent ().add (fileCommonLocation );
You can’t perform that action at this time.
0 commit comments