This commit is contained in:
BetaSteward 2011-06-05 09:50:31 -04:00
commit 6cbd5369c3
32 changed files with 195 additions and 175 deletions

View file

@ -473,7 +473,8 @@ class UpdateTablesTask extends SwingWorker<Void, Collection<TableView>> {
@Override
protected Void doInBackground() throws Exception {
while (!isCancelled()) {
this.publish(session.getTables(roomId));
if (MageFrame.getDesktop().getSelectedFrame() instanceof TablesPane)
this.publish(session.getTables(roomId));
Thread.sleep(1000);
}
return null;