diff -r d35bd2241fd1 -r 7eb4e5529c82 branchobj.cpp --- a/branchobj.cpp Mon Jan 14 16:26:59 2008 +0000 +++ b/branchobj.cpp Mon Jan 14 16:26:59 2008 +0000 @@ -1,6 +1,7 @@ #include "branchobj.h" // #include "texteditor.h" +#include "geometry.h" #include "mapeditor.h" #include "mainwindow.h" #include "misc.h" @@ -690,12 +691,12 @@ // Search myself - if (inBox (p) && (this != excludeLMO) && isVisibleObj() ) + if (inBox (p,clickBox) && (this != excludeLMO) && isVisibleObj() ) return this; // Search float images for (int i=0; iinBox(p) && + if (inBox(p,floatimage.at(i)->getClickBox()) && (floatimage.at(i) != excludeLMO) && floatimage.at(i)->getParObj()!= excludeLMO && floatimage.at(i)->isVisibleObj()