ensure that update to LogBookViewer is performed on EDT
parent
6d05fb4293
commit
c3a2c0809b
|
@ -475,7 +475,11 @@ public class GameController implements ILogBookListener {
|
|||
} else {
|
||||
game.gotoLastUndoPoint();
|
||||
}
|
||||
gamePanel.getLogBookViewer().update();
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
public void run() {
|
||||
gamePanel.getLogBookViewer().update();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void haltGame() {
|
||||
|
|
Loading…
Reference in New Issue