1.1 --- a/mapeditor.cpp Thu Sep 22 12:14:23 2005 +0000
1.2 +++ b/mapeditor.cpp Thu Sep 22 12:56:05 2005 +0000
1.3 @@ -1410,7 +1410,7 @@
1.4 to->move2RelPos ( from->getRelPos());
1.5
1.6 // select data in clipboard
1.7 - clipboardME->select ("bo:0");
1.8 + // clipboardME->select ("bo:0");
1.9
1.10 // repositioning makes testing nicer,
1.11 // but is not needed usually:
1.12 @@ -1420,6 +1420,9 @@
1.13 clipboardME->hide();
1.14 }
1.15 }
1.16 + /* FIXME rewrite this using import/export
1.17 + Currently there is a bug which would erase note, if
1.18 + branchobj in clipboard is selected...
1.19 if (typeid(*selection) == typeid(FloatImageObj) )
1.20 {
1.21 FloatImageObj* to;
1.22 @@ -1442,7 +1445,8 @@
1.23 else
1.24 clipboardME->hide();
1.25 }
1.26 - }
1.27 + }
1.28 + */
1.29 }
1.30 }
1.31
1.32 @@ -1619,6 +1623,7 @@
1.33 // Finish open lineEdits
1.34 if (lineedit) finishedLineEditNoSave();
1.35
1.36 + clipboardME->select ("bo:0");
1.37 LinkableMapObj *fromLMO=clipboardME->getSelection();
1.38 LinkableMapObj *returnLMO=NULL;
1.39