- Hopefully fixed instant reached by jumpto dialog
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1039 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
162e0f95e5
commit
80f559ec7b
|
@ -93,7 +93,7 @@ JumpToDialog::_on_jump()
|
||||||
sim.jump_to(h.get_size() - 1);
|
sim.jump_to(h.get_size() - 1);
|
||||||
|
|
||||||
h.set_notify_enabled(false);
|
h.set_notify_enabled(false);
|
||||||
while(h.get_front() < _target_instant)
|
while(h.get_front() <= _target_instant)
|
||||||
{
|
{
|
||||||
sim.run();
|
sim.run();
|
||||||
if(sim.get_state() == Simulation::state_stopped)
|
if(sim.get_state() == Simulation::state_stopped)
|
||||||
|
|
Loading…
Reference in New Issue