Skip to content

Commit 49d177b

Browse files
Christoph BodensteinChristoph Bodenstein
authored andcommitted
Set simulationType via support at start to trigger Benchmark-Combobox-update
1 parent 8bbea60 commit 49d177b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TimeNETOptimizationEnvironment/src/toe/MainFrame.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public Component getTableCellRendererComponent(JTable table,
219219
support.log(auto.getProperty("SimulationType"));
220220

221221
this.jComboBoxSimulationType.setSelectedItem(typeOfSimulator.valueOf(auto.getProperty("SimulationType", support.DEFAULT_TYPE_OF_SIMULATOR.toString())));
222-
222+
support.setChosenSimulatorType((typeOfSimulator)jComboBoxSimulationType.getSelectedItem());
223223
this.jComboBoxOptimizationType.setSelectedItem(typeOfOptimization.valueOf(auto.getProperty("OptimizationType", support.DEFAULT_TYPE_OF_OPTIMIZER.toString())));
224224

225225
savePropertiesEnabled = true;//Enable property saving after init of all components

0 commit comments

Comments
 (0)