canvas_view->set_tree_model(get_name(),layer_tree_store);
LayerTree* layer_tree(new LayerTree());
- layer_tree->set_model(layer_tree_store);
layer_tree->set_time_adjustment(canvas_view->time_adjustment());
layer_tree->signal_edited_value().connect(
)
);
- canvas_view->set_ext_widget(get_name()+"_cmp",layer_tree);
+ // (a) should be before (b), (b) should be before (c)
+ canvas_view->set_ext_widget(get_name()+"_cmp",layer_tree); // (a)
canvas_view->set_ext_widget(get_name(),&layer_tree->get_layer_tree_view());
canvas_view->set_ext_widget("params",&layer_tree->get_param_tree_view());
- canvas_view->set_tree_model("params",layer_tree->get_param_tree_view().get_model());
+
+ layer_tree->set_model(layer_tree_store); // (b)
+ canvas_view->set_tree_model("params",layer_tree->get_param_tree_view().get_model()); // (c)
/*
canvas_view->layermenu.items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-delete"),Gtk::AccelKey("Delete"),