From 15cbbb1bac2d1c45a7a9d299dae5659a801632cb Mon Sep 17 00:00:00 2001 From: localhorst Date: Sun, 9 Jun 2019 13:03:20 +0200 Subject: [PATCH] fast fix for calendar bug --- .../org/hso/texturesyncclient/controller/RootController.kt | 4 ++-- .../org/hso/texturesyncclient/controller/net/Connection.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/main/kotlin/org/hso/texturesyncclient/controller/RootController.kt b/client/src/main/kotlin/org/hso/texturesyncclient/controller/RootController.kt index b7ec810..16fb1d1 100644 --- a/client/src/main/kotlin/org/hso/texturesyncclient/controller/RootController.kt +++ b/client/src/main/kotlin/org/hso/texturesyncclient/controller/RootController.kt @@ -252,12 +252,12 @@ class RootController : Controller() { fun deleteTexture(data: Texture) { val dialogDelete = JFXOkayCancelAlert( "Löschen", - "Textur wirklich löschen?", + "Textur ${data.name} wirklich löschen?", "-fx-button-type: RAISED; -fx-background-color: #2b7bbb; -fx-text-fill: #000000;" ) dialogDelete.okayAction = EventHandler { - mvc.removeTextureFromView(data) con.deleteTexture(data) + mvc.removeTextureFromView(data) } dialogDelete.cancelAction = EventHandler { // Do nothing diff --git a/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt b/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt index 25eb664..6e7e991 100644 --- a/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt +++ b/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt @@ -329,4 +329,4 @@ class Connection(val address: InetAddress, val port: Int = 10796) : Closeable { } } -} \ No newline at end of file +}