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); TileUtils.redrawTile(t);
} }
Tile tile = currentTile; Tile tile = currentTile;
Image image = currentImage;
rebuildTileSelectors(); rebuildTileSelectors();
setCurrentTile(tile); setCurrentTile(tile);
if (currentMapEditor != null) { if (currentMapEditor != null) {
currentMapEditor.redraw(); currentMapEditor.redraw();
} }
if (currentImageEditor != null) { rebuildImageSelector();
currentImageEditor.redraw(); setCurrentImage(image);
}
} }
@Override @Override