From: Freek D. <sf_...@ma...> - 2010-01-17 21:05:23
|
Hi, I prefer to keep the stock window open, even in the operating rounds. Attached is a small patch that does that, using a setting in my.properties. While adding this, I found a small bug. If 18xx loads a game, it apparently somehow replays the game so far, because the stock, map (OR), and status windows are called to the front multiple times. I have a game in round 5.2, and when I load it, the following calls are made (from lines 250 - 290 in rails/ui/swing/GameUIManager.java) statusWindow.toFront() stockChart.toFront(); orWindow.toFront(); orWindow.toFront(); stockChart.toFront(); stockChart.toFront(); statusWindow.toFront() orWindow.toFront(); stockChart.toFront(); stockChart.toFront(); statusWindow.toFront() orWindow.toFront(); stockChart.toFront(); stockChart.toFront(); statusWindow.toFront() orWindow.toFront(); stockChart.toFront(); stockChart.toFront(); statusWindow.toFront() orWindow.toFront(); stockChart.toFront(); stockChart.toFront(); statusWindow.toFront() stockChart.toFront(); statusWindow.toFront() I have not created a patch for this second bug. Regards, Freek |