Switching platform now properly updates the image editor view

This commit is contained in:
Brendan Robert 2013-08-04 20:49:38 -05:00
parent 21d71a57b9
commit 2d755384c2

View File

@ -284,14 +284,14 @@ public class ApplicationUIControllerImpl extends ApplicationUIController {
TileUtils.redrawTile(t);
}
Tile tile = currentTile;
Image image = currentImage;
rebuildTileSelectors();
setCurrentTile(tile);
if (currentMapEditor != null) {
currentMapEditor.redraw();
}
if (currentImageEditor != null) {
currentImageEditor.redraw();
}
rebuildImageSelector();
setCurrentImage(image);
}
@Override