Permalink
Browse files

broadcast focus giveup

  • Loading branch information...
marcus
marcus committed Apr 27, 2011
1 parent 76dc26f commit 32ec4788050af18e7840c5a5b366a30d1148050c
Showing with 2 additions and 0 deletions.
  1. +2 −0 de/mud/jta/plugin/ButtonBar.java
@@ -33,6 +33,7 @@
import de.mud.jta.event.ConfigurationListener;
import de.mud.jta.event.SocketRequest;
import de.mud.jta.event.TelnetCommandRequest;
import de.mud.jta.event.ReturnFocusRequest;
import javax.swing.JButton;
import javax.swing.JComponent;
@@ -470,6 +471,7 @@ else if (function.equals("detach")) {
if (cmd.length() > 0)
try {
write(cmd.getBytes());
bus.broadcast(new ReturnFocusRequest());
} catch (IOException e) {
error("send: " + e);
}

0 comments on commit 32ec478

Please sign in to comment.