- Aesthetics
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@986 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
6f2c9c3252
commit
23e24e87e5
|
@ -448,10 +448,9 @@ GuiBuilder::GuiBuilder(const std::string& gladefile)
|
||||||
// Main simulation widget
|
// Main simulation widget
|
||||||
ScrolledWindow* simulation_window = NULL;
|
ScrolledWindow* simulation_window = NULL;
|
||||||
_refXml->get_widget("SimulationScrolledWindow", simulation_window);
|
_refXml->get_widget("SimulationScrolledWindow", simulation_window);
|
||||||
_simulation_widget = new SimulationWidget(Simulation::get_instance());
|
_simulation_widget = manage(new SimulationWidget(Simulation::get_instance()));
|
||||||
SimulationWidget* simulation_widget = manage(_simulation_widget);
|
simulation_window->add(*_simulation_widget);
|
||||||
simulation_window->add(*simulation_widget);
|
_simulation_widget->show();
|
||||||
simulation_widget->show();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue