From 071938584ec83b1c8917f510bacc1d1323fa5962 Mon Sep 17 00:00:00 2001 From: Griefed Date: Sun, 24 Sep 2023 17:20:33 +0200 Subject: [PATCH] Line breaks --- .../gui/window/settings/WebserviceSettings.kt | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/serverpackcreator-gui/src/main/kotlin/de/griefed/serverpackcreator/gui/window/settings/WebserviceSettings.kt b/serverpackcreator-gui/src/main/kotlin/de/griefed/serverpackcreator/gui/window/settings/WebserviceSettings.kt index 62ad93861..93d19f569 100644 --- a/serverpackcreator-gui/src/main/kotlin/de/griefed/serverpackcreator/gui/window/settings/WebserviceSettings.kt +++ b/serverpackcreator-gui/src/main/kotlin/de/griefed/serverpackcreator/gui/window/settings/WebserviceSettings.kt @@ -137,23 +137,13 @@ class WebserviceSettings( val versionScheduleIcon = StatusIcon(guiProps,Gui.settings_webservice_schedule_versions_tooltip.toString()) val versionScheduleLabel = ElementLabel(Gui.settings_webservice_schedule_versions_label.toString()) - val versionScheduleSetting = ScrollTextField( - guiProps, - apiProperties.webserviceVersionSchedule, - Gui.settings_webservice_schedule_versions_label.toString(), - documentChangeListener - ) + val versionScheduleSetting = ScrollTextField(guiProps,apiProperties.webserviceVersionSchedule,Gui.settings_webservice_schedule_versions_label.toString(),documentChangeListener) val versionRevert = BalloonTipButton(null,guiProps.revertIcon,Gui.settings_revert.toString(),guiProps) { versionScheduleSetting.text = apiProperties.webserviceVersionSchedule } val versionReset = BalloonTipButton(null,guiProps.resetIcon,Gui.settings_reset.toString(),guiProps) { versionScheduleSetting.text = apiProperties.fallbackVersionSchedule } val databaseCleanupScheduleIcon = StatusIcon(guiProps,Gui.settings_webservice_schedule_database_tooltip.toString()) val databaseCleanupScheduleLabel = ElementLabel(Gui.settings_webservice_schedule_database_label.toString()) - val databaseCleanupScheduleSetting = ScrollTextField( - guiProps, - apiProperties.webserviceDatabaseCleanupSchedule, - Gui.settings_webservice_schedule_database_label.toString(), - documentChangeListener - ) + val databaseCleanupScheduleSetting = ScrollTextField(guiProps,apiProperties.webserviceDatabaseCleanupSchedule,Gui.settings_webservice_schedule_database_label.toString(),documentChangeListener) val databaseCleanupRevert = BalloonTipButton(null,guiProps.revertIcon,Gui.settings_revert.toString(),guiProps) { databaseCleanupScheduleSetting.text = apiProperties.webserviceDatabaseCleanupSchedule } val databaseCleanupReset = BalloonTipButton(null,guiProps.resetIcon,Gui.settings_reset.toString(),guiProps) { databaseCleanupScheduleSetting.text = apiProperties.fallbackDatabaseCleanupSchedule }