Fix condition used to display the stage combo box.

This commit is contained in:
kruland2607 2012-11-09 11:56:52 -06:00
parent a06acb7b43
commit 45cabaaddf

View File

@ -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");
}