Skip to content

Commit

Permalink
broadcast focus giveup
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus committed Apr 27, 2011
1 parent 76dc26f commit 32ec478
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions de/mud/jta/plugin/ButtonBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 32ec478

Please sign in to comment.