]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blobdiff - viewer/main.cpp
Muestro los datos borrados y que son recuperables.
[z.facultad/75.52/treemulator.git] / viewer / main.cpp
index 59f34f77bc20179fcfbee67da22d2e890583f496..e6a7a86a9f80fc150e8500f125945f10c687e37d 100644 (file)
@@ -150,6 +150,7 @@ void nuevo_arbol ()
                int type = d.getKeyType ();
                int atype = d.getTreeType ();
                tree = Glib::RefPtr<ViewBTree>(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<int> lst;