Skip to content

Commit

Permalink
fix(GUI): Open properties browser instead of icon browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Griefed committed Dec 14, 2024
1 parent 69bbbea commit 15e9577
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ class ConfigEditor(

private fun selectServerProperties() {
val serverPropertiesChooser = if (guiProps.getPreference("lastserverpropertieschooserdir").isPresent) {
ServerIconChooser(File(guiProps.getPreference("lastserverpropertieschooserdir").get()), guiProps.defaultFileChooserDimension)
ServerPropertiesChooser(File(guiProps.getPreference("lastserverpropertieschooserdir").get()), guiProps.defaultFileChooserDimension)
} else if (File(getServerPropertiesPath()).isFile) {
ServerPropertiesChooser(File(getServerPropertiesPath()), guiProps.defaultFileChooserDimension)
} else {
Expand Down

0 comments on commit 15e9577

Please sign in to comment.