1.1 --- a/selection.cpp Tue Aug 05 07:36:53 2008 +0000
1.2 +++ b/selection.cpp Mon Oct 06 11:10:20 2008 +0000
1.3 @@ -3,7 +3,6 @@
1.4 #include "selection.h"
1.5
1.6 #include "mainwindow.h"
1.7 -#include "mapeditor.h"
1.8 #include "vymmodel.h"
1.9
1.10
1.11 @@ -186,6 +185,13 @@
1.12 return NULL;
1.13 }
1.14
1.15 +TreeItem* Selection::getBranchItem()
1.16 +{
1.17 + BranchObj* bo=getBranch();
1.18 + if (bo) return bo->getTreeItem();
1.19 + return NULL;
1.20 +}
1.21 +
1.22 FloatImageObj* Selection::getFloatImage()
1.23 {
1.24 if (!selectList.isEmpty())