diff --git a/ui/BankingJavaFxApp/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/mainwindow/MainWindow.kt b/ui/BankingJavaFxApp/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/mainwindow/MainWindow.kt index 2c115f54..cccff3c9 100755 --- a/ui/BankingJavaFxApp/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/mainwindow/MainWindow.kt +++ b/ui/BankingJavaFxApp/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/mainwindow/MainWindow.kt @@ -28,7 +28,7 @@ import tornadofx.FX.Companion.messages class MainWindow : View(messages["application.title"]) { - private val dataFolder = ensureFolderExists(File("."), "data") + private val dataFolder = ensureFolderExists(File(System.getProperty("user.dir")), "data") private val databaseFolder = ensureFolderExists(dataFolder, "db")