Changeset 188

Show
Ignore:
Timestamp:
02/20/10 17:45:20 (2 years ago)
Author:
stefan
Message:

fixed issue #155: test connection sometime successful when using wrong COM port

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/CHANGELOG

    r187 r188  
    662010-02-20 
    77* [stefan]  * implemented issue #178: save and restore last window position and size 
     8            * fixed issue #155: test connection sometime successful when using wrong COM port 
    89 
    910== 0.7.8 == 
  • trunk/src/org/jergometer/gui/SettingsWindow.java

    r145 r188  
    341341    BikeConnectionTester bikeConnectionTester = new BikeConnectionTester(settingsWindow, comPortComboBox.getSelectedItem().toString()); 
    342342    String id = bikeConnectionTester.test(); 
    343     if (id == null) { 
     343    if (id == null || id.equals("ID")) { 
    344344      JOptionPane.showMessageDialog(this, I18n.getString("msg.connection_failed")); 
    345345    } else {