Author: [log in to unmask]
Date: Tue Dec 9 16:35:52 2014
New Revision: 1665
Log:
Fix bug where steering file was not set correctly.
Modified:
java/trunk/monitoring-app/src/main/java/org/hps/monitoring/gui/JobSettingsPanel.java
Modified: java/trunk/monitoring-app/src/main/java/org/hps/monitoring/gui/JobSettingsPanel.java
=============================================================================
--- java/trunk/monitoring-app/src/main/java/org/hps/monitoring/gui/JobSettingsPanel.java (original)
+++ java/trunk/monitoring-app/src/main/java/org/hps/monitoring/gui/JobSettingsPanel.java Tue Dec 9 16:35:52 2014
@@ -354,7 +354,7 @@
steeringTypeComboBox.setSelectedIndex(((SteeringType) value).ordinal());
} else if (evt.getPropertyName().equals(STEERING_FILE_PROPERTY)) {
if (value != null) {
- steeringFileField.setText(((File) value).getPath());
+ steeringFileField.setText((String) value);
} else {
// A null value here is actually okay and means this field should be reset to have no value.
steeringFileField.setText(null);
|