Fix condition used to display the stage combo box.
This commit is contained in:
parent
a06acb7b43
commit
45cabaaddf
@ -163,7 +163,8 @@ public class SimulationPlotDialog extends JDialog {
|
||||
}
|
||||
|
||||
});
|
||||
if ( stages.size() > 1 ) {
|
||||
if ( stages.size() > 2 ) {
|
||||
// Only show the combo box if there are at least 3 entries (ie, "All", "Main", and one other one
|
||||
panel.add(stageSelection, "gapleft rel");
|
||||
panel.add(new JPanel(), "growx");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user