diff --git a/EpcQrCodeJavaFxApp/src/main/kotlin/net/codinux/banking/epcqrcode/windows/main/MainWindow.kt b/EpcQrCodeJavaFxApp/src/main/kotlin/net/codinux/banking/epcqrcode/windows/main/MainWindow.kt index 100b07d..897a91a 100644 --- a/EpcQrCodeJavaFxApp/src/main/kotlin/net/codinux/banking/epcqrcode/windows/main/MainWindow.kt +++ b/EpcQrCodeJavaFxApp/src/main/kotlin/net/codinux/banking/epcqrcode/windows/main/MainWindow.kt @@ -28,7 +28,7 @@ class MainWindow : View(FX.messages["application.title"]) { private val DecimalFormat = DecimalFormat( "#.00" ) - private val AppSettingsFile = File("settings.json") + private val AppSettingsFile = File(File("").absoluteFile, "settings.json") private val logger = LoggerFactory.getLogger(MainWindow::class.java) }