Prevent application from automatically reloading server
This commit is contained in:
parent
ce65993bee
commit
aaea1a9d87
1 changed files with 0 additions and 4 deletions
|
@ -186,10 +186,6 @@ public class ExBoxFrame extends JFrame implements ActionListener, ItemListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void execute(String args) throws Exception {
|
private void execute(String args) throws Exception {
|
||||||
if (lastServer != null) {
|
|
||||||
command = ServerFactory.createServer(lastServer);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!arguments.getText().equals(history.getItemAt(0))
|
if (!arguments.getText().equals(history.getItemAt(0))
|
||||||
&& !arguments.getText().equals(history.getSelectedItem())) {
|
&& !arguments.getText().equals(history.getSelectedItem())) {
|
||||||
history.insertItemAt(arguments.getText(), 0);
|
history.insertItemAt(arguments.getText(), 0);
|
||||||
|
|
Loading…
Reference in a new issue