Move preferences dialog FXML file to sub directory

This commit is contained in:
Marvin Elsen 2024-09-28 16:16:09 +02:00
parent 039efe8b6c
commit c9c794604b
Signed by: marvinelsen
GPG Key ID: 820672408CC318C2
2 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class PreferencesDialog(owner: Window?, config: Config) : Dialog<PreferencesDial
private val searchResultDefinitionFontSizeObjectProperty = config.searchResults.definitionFontSize.asObject()
init {
val loader = FXMLLoader(WillowApplication::class.java.getResource("/fxml/preferences-dialog.fxml"))
val loader = FXMLLoader(WillowApplication::class.java.getResource("/fxml/dialogs/preferences.fxml"))
loader.setController(this)
val root: DialogPane = loader.load()