- Fix misleandingly-indented code
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1038 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
1203372f3e
commit
162e0f95e5
|
@ -91,13 +91,14 @@ JumpToDialog::_on_jump()
|
|||
sim.jump_to(_target_instant);
|
||||
else
|
||||
sim.jump_to(h.get_size() - 1);
|
||||
h.set_notify_enabled(false);
|
||||
while(h.get_front() < _target_instant)
|
||||
{
|
||||
sim.run();
|
||||
if(sim.get_state() == Simulation::state_stopped)
|
||||
break; // Simulation ended before reaching _target_instant
|
||||
}
|
||||
|
||||
h.set_notify_enabled(false);
|
||||
while(h.get_front() < _target_instant)
|
||||
{
|
||||
sim.run();
|
||||
if(sim.get_state() == Simulation::state_stopped)
|
||||
break; // Simulation ended before reaching _target_instant
|
||||
}
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue