diff -r 920e6ed5889b -r e90f5bef70c8 xml.cpp --- a/xml.cpp Sun Jan 30 12:59:10 2005 +0000 +++ b/xml.cpp Sun Jan 30 23:25:47 2005 +0000 @@ -47,7 +47,7 @@ const QString& eName, const QXmlAttributes& atts ) { QColor col; -// cout << "startElement <"< state="< state="<getSelection(); + if (!lmo) + { + // If a vym part is _loaded_ (not imported), + // selection==lmo==NULL + // Treat it like ImportAdd then... + loadMode=ImportAdd; + lmo=mc; + } if (lmo && (typeid(*lmo) == typeid(BranchObj) ) || (typeid(*lmo) == typeid(MapCenterObj) ) ) {