X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/d7d5d64acf8b4483b20594f78dc07e27fdaa5b34..354f66865d010a90b1d81c83bcaf55115e5859e1:/viewer/main.cpp?ds=sidebyside diff --git a/viewer/main.cpp b/viewer/main.cpp index 59f34f7..e6a7a86 100644 --- a/viewer/main.cpp +++ b/viewer/main.cpp @@ -150,6 +150,7 @@ void nuevo_arbol () int type = d.getKeyType (); int atype = d.getTreeType (); tree = Glib::RefPtr(new ViewBTree (real_canvas->root(), "test.idx", d.getBlockSize (), atype, type)); + real_frame->SetTree (tree); tree->signal_selected ().connect ( sigc::mem_fun (*real_frame, &ViewProperties::ShowItem) ); if (type == BTree::KEY_FIXED) { std::list lst;