Browse Source

Bug fix: double click for new sim path sometimes broken.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@561 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 18 years ago
parent
commit
613463ef8b
  1. 4
      prism/src/userinterface/simulator/GUISimulator.java

4
prism/src/userinterface/simulator/GUISimulator.java

@ -337,8 +337,6 @@ public class GUISimulator extends GUIPlugin implements MouseListener, ListSelect
Values initialState; Values initialState;
try try
{ {
tableScroll.setViewportView(pathTable);
// get properties constants/labels // get properties constants/labels
PropertiesFile pf; PropertiesFile pf;
try try
@ -433,6 +431,8 @@ public class GUISimulator extends GUIPlugin implements MouseListener, ListSelect
initialState = lastInitialState; initialState = lastInitialState;
} }
tableScroll.setViewportView(pathTable);
displayPathLoops = true; displayPathLoops = true;
engine.startNewPath(parsedModel, pf, initialState); engine.startNewPath(parsedModel, pf, initialState);
//engine.setPropertyConstants(lastPropertyConstants); //engine.setPropertyConstants(lastPropertyConstants);

Loading…
Cancel
Save