- Fix SIGSEGV: we were clearing the smart pointer instead of its contents!
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@885 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
b2b905427b
commit
74ec2ed372
|
@ -117,7 +117,7 @@ SchedulablesTreeWidget::update(const History& history)
|
|||
const Environment::Processes& processes =
|
||||
Simulation::get_instance().get_history().get_last_environment().get_processes();
|
||||
|
||||
_model.clear();
|
||||
_model->clear();
|
||||
|
||||
for(unsigned int i = 0; i < processes.size(); ++i)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue