mapeditor.cpp
branchqt4-port
changeset 6 db50e4164311
parent 4 ec3d2962893d
child 7 84f76a3876d7
     1.1 --- a/mapeditor.cpp	Wed Jun 14 10:28:01 2006 +0000
     1.2 +++ b/mapeditor.cpp	Wed Jun 14 14:43:18 2006 +0000
     1.3 @@ -1487,7 +1487,11 @@
     1.4  void MapEditor::editHeading()
     1.5  {
     1.6  	// Finish open lineEdits
     1.7 -	if (lineedit) finishedLineEdit();
     1.8 +	if (lineedit->isVisible()) 
     1.9 +	{	
    1.10 +		finishedLineEdit();
    1.11 +		return;
    1.12 +	}	
    1.13  
    1.14  	if (selection  &&  
    1.15  		 (typeid(*selection) == typeid(BranchObj) ||