fast fix for calendar bug
This commit is contained in:
parent
08840c4c2b
commit
15cbbb1bac
|
@ -252,12 +252,12 @@ class RootController : Controller() {
|
||||||
fun deleteTexture(data: Texture) {
|
fun deleteTexture(data: Texture) {
|
||||||
val dialogDelete = JFXOkayCancelAlert(
|
val dialogDelete = JFXOkayCancelAlert(
|
||||||
"Löschen",
|
"Löschen",
|
||||||
"Textur wirklich löschen?",
|
"Textur ${data.name} wirklich löschen?",
|
||||||
"-fx-button-type: RAISED; -fx-background-color: #2b7bbb; -fx-text-fill: #000000;"
|
"-fx-button-type: RAISED; -fx-background-color: #2b7bbb; -fx-text-fill: #000000;"
|
||||||
)
|
)
|
||||||
dialogDelete.okayAction = EventHandler {
|
dialogDelete.okayAction = EventHandler {
|
||||||
mvc.removeTextureFromView(data)
|
|
||||||
con.deleteTexture(data)
|
con.deleteTexture(data)
|
||||||
|
mvc.removeTextureFromView(data)
|
||||||
}
|
}
|
||||||
dialogDelete.cancelAction = EventHandler {
|
dialogDelete.cancelAction = EventHandler {
|
||||||
// Do nothing
|
// Do nothing
|
||||||
|
|
Loading…
Reference in New Issue