fast fix for calendar bug

This commit is contained in:
Hendrik Schutter 2019-06-09 13:03:20 +02:00
parent 08840c4c2b
commit 15cbbb1bac
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -329,4 +329,4 @@ class Connection(val address: InetAddress, val port: Int = 10796) : Closeable {
}
}
}
}