- 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);
|
sim.jump_to(_target_instant);
|
||||||
else
|
else
|
||||||
sim.jump_to(h.get_size() - 1);
|
sim.jump_to(h.get_size() - 1);
|
||||||
h.set_notify_enabled(false);
|
|
||||||
while(h.get_front() < _target_instant)
|
h.set_notify_enabled(false);
|
||||||
{
|
while(h.get_front() < _target_instant)
|
||||||
sim.run();
|
{
|
||||||
if(sim.get_state() == Simulation::state_stopped)
|
sim.run();
|
||||||
break; // Simulation ended before reaching _target_instant
|
if(sim.get_state() == Simulation::state_stopped)
|
||||||
}
|
break; // Simulation ended before reaching _target_instant
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch(...)
|
catch(...)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue