fixed bug when saving plan

This commit is contained in:
Stephan Richter
2020-09-14 00:16:57 +02:00
parent e7b9f3cd09
commit 44abb92ed5
3 changed files with 33 additions and 9 deletions

View File

@@ -2,4 +2,13 @@ package de.srsoftware.web4rail.tiles;
public class Shadow extends Tile{
private Tile overlay;
public Shadow(Tile overlay) {
this.overlay = overlay;
}
public Tile overlay() {
return overlay;
}
}

View File

@@ -35,8 +35,8 @@ public abstract class Tile {
return this;
}
public static Tag propMenu() {
return new Window("tile-properties",t("Properties")).content(t("This tile has no properties"));
public Tag propMenu() {
return new Window("tile-properties",t("Properties")).content(t("This tile ({}) has no properties",getClass().getSimpleName()));
}
public Tag tag() throws IOException {