Browse Source

Bugfix: GUI does not offer graphs for integer-values properties.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1582 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 16 years ago
parent
commit
4629fa462a
  1. 2
      prism/src/userinterface/properties/GUIMultiProperties.java

2
prism/src/userinterface/properties/GUIMultiProperties.java

@ -371,7 +371,7 @@ public class GUIMultiProperties extends GUIPlugin implements MouseListener, List
error("Cannot create an experiment because there are no constants with undefined values"); error("Cannot create an experiment because there are no constants with undefined values");
return; return;
} }
int result = GUIExperimentPicker.defineConstantsWithDialog(this.getGUI(), uCon, type instanceof TypeBool || type instanceof TypeDouble, gp.isValidForSimulation());
int result = GUIExperimentPicker.defineConstantsWithDialog(this.getGUI(), uCon, type instanceof TypeInt || type instanceof TypeDouble, gp.isValidForSimulation());
if(result == GUIExperimentPicker.VALUES_DONE_SHOW_GRAPH || result == GUIExperimentPicker.VALUES_DONE_SHOW_GRAPH_AND_SIMULATE) if(result == GUIExperimentPicker.VALUES_DONE_SHOW_GRAPH || result == GUIExperimentPicker.VALUES_DONE_SHOW_GRAPH_AND_SIMULATE)
{ {
showGraphDialog = true; showGraphDialog = true;

Loading…
Cancel
Save