diff -r 5cfbba1dc2f8 -r db50e4164311 mapeditor.cpp --- a/mapeditor.cpp Wed Jun 14 10:28:01 2006 +0000 +++ b/mapeditor.cpp Wed Jun 14 14:43:18 2006 +0000 @@ -1487,7 +1487,11 @@ void MapEditor::editHeading() { // Finish open lineEdits - if (lineedit) finishedLineEdit(); + if (lineedit->isVisible()) + { + finishedLineEdit(); + return; + } if (selection && (typeid(*selection) == typeid(BranchObj) ||