diff -r 133e2ed6b9c5 -r f1006de05c54 mainwindow.cpp --- a/mainwindow.cpp Thu Sep 03 08:52:00 2009 +0000 +++ b/mainwindow.cpp Mon Sep 07 15:36:57 2009 +0000 @@ -23,6 +23,8 @@ #include "warningdialog.h" #include "xlinkitem.h" +#include // FIXME-3 + #if defined(Q_OS_WIN32) // Define only this structure as opposed to // including full 'windows.h'. FindWindow @@ -1707,13 +1709,18 @@ { VymModel *vm=new VymModel; +new ModelTest(vm, this); //FIXME-3 + + VymView *vv=new VymView (vm); vymViews.append (vv); tabWidget->addTab (vv,tr("unnamed","MainWindow: name for new and empty file")); tabWidget->setCurrentIndex (vymViews.count() ); vv->initFocus(); - + // Create MapCenter for empty map + //vm->createMapCenter(); + // For the very first map we do not have flagrows yet... vm->select("mc:"); } @@ -2797,6 +2804,7 @@ || actionSettingsAutoEditNewBranch->isOn()) { m->select (bi); + cout << "Main::editNewBranch prevSel="<isOn()) currentMapEditor()->editHeading(); }