From 704ac55239456439423d6afb1d5f100d89cdd27a Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 26 Oct 2020 18:18:37 +0100 Subject: [PATCH] Made dataFolder a bit nices (doesn't contain '/./' anymore) --- .../dankito/banking/ui/javafx/dialogs/mainwindow/MainWindow.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")