diff -r 7ea31701156e -r 7f43b93242aa selection.cpp --- a/selection.cpp Tue Aug 05 07:36:53 2008 +0000 +++ b/selection.cpp Mon Oct 06 11:10:20 2008 +0000 @@ -3,7 +3,6 @@ #include "selection.h" #include "mainwindow.h" -#include "mapeditor.h" #include "vymmodel.h" @@ -186,6 +185,13 @@ return NULL; } +TreeItem* Selection::getBranchItem() +{ + BranchObj* bo=getBranch(); + if (bo) return bo->getTreeItem(); + return NULL; +} + FloatImageObj* Selection::getFloatImage() { if (!selectList.isEmpty())