mapeditor.cpp
changeset 719 3f90aab4794d
parent 691 058b0e70f5ec
child 720 192e1392ba6a
     1.1 --- a/mapeditor.cpp	Mon May 05 13:46:42 2008 +0000
     1.2 +++ b/mapeditor.cpp	Mon Jul 14 11:25:09 2008 +0000
     1.3 @@ -59,6 +59,8 @@
     1.4  MapEditor::MapEditor( QWidget* parent) :
     1.5    QGraphicsView(parent)  
     1.6  {
     1.7 +	setObjectName ("MapEditor");
     1.8 +
     1.9  	//cout << "Constructor ME "<<this<<endl;
    1.10  	mapNum++;
    1.11  
    1.12 @@ -1500,7 +1502,7 @@
    1.13  	updateActions();
    1.14  
    1.15      clear();
    1.16 -	close();
    1.17 +	// close();  FIXME needed?
    1.18  }
    1.19  
    1.20  void MapEditor::setFilePath(QString fpath, QString destname)
    1.21 @@ -3092,6 +3094,7 @@
    1.22  
    1.23  	BranchObj *bo=xelection.getBranch();
    1.24  	if (bo && xelection.type()==Selection::Branch)
    1.25 +	{
    1.26  		if (bo->getOrientation()==LinkableMapObj::RightOfCenter)
    1.27  			selectNextBranchInt();
    1.28  		else
    1.29 @@ -3099,6 +3102,7 @@
    1.30  				selectPrevBranchInt();
    1.31  			else
    1.32  				selectNextBranchInt();
    1.33 +	}			
    1.34  }
    1.35  
    1.36