- 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:
elvez 2006-09-07 10:52:13 +00:00
parent 1203372f3e
commit 162e0f95e5
1 changed files with 8 additions and 7 deletions

View File

@ -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(...)
{ {