/* $Id$
This file is part of the MSP Märklin suite
-Copyright © 2009 Mikkosoft Productions, Mikko Rasa
+Copyright © 2009-2010 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
void Remote::train_added(Marklin::NetTrain &t)
{
- TrainPanel *panel = new TrainPanel(client, t);
+ TrainPanel *panel = new TrainPanel(*this, client, t);
if(!train_panels.empty())
{
Gtk::HSeparator *sep = new Gtk::HSeparator;