Small UI Fix To Update ComboBox To Display Selection (#1367)
This commit is contained in:
parent
92e4d8ea4c
commit
70f3d0fa12
@ -115,6 +115,7 @@ public class SimulationPreferencesPanel extends PreferencesPanel {
|
|||||||
GeodeticComputationStrategy gcs = (GeodeticComputationStrategy) gcsCombo
|
GeodeticComputationStrategy gcs = (GeodeticComputationStrategy) gcsCombo
|
||||||
.getSelectedItem();
|
.getSelectedItem();
|
||||||
gcsCombo.setToolTipText(gcs.getDescription());
|
gcsCombo.setToolTipText(gcs.getDescription());
|
||||||
|
gcsCombo.repaint(); // On some machines, the combobox did not visually update to the selected item
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
gcsCombo.addActionListener(gcsTTipListener);
|
gcsCombo.addActionListener(gcsTTipListener);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user