1.1 --- a/selection.cpp Mon Nov 16 09:07:17 2009 +0000
1.2 +++ b/selection.cpp Tue Dec 01 11:06:41 2009 +0000
1.3 @@ -40,16 +40,17 @@
1.4 void Selection::update()
1.5 {
1.6 QRectF bbox;
1.7 - int w=0;
1.8 for (int i=0; i< selectList.count(); ++i)
1.9 {
1.10 bbox=selectList.at(i)->getBBox();
1.11 selboxList.at(i)->setRect (
1.12 - bbox.x()-w,bbox.y()-w,
1.13 - bbox.width()+2*w, bbox.height()+2*w);
1.14 + bbox.x(),bbox.y(),
1.15 + bbox.width(), bbox.height());
1.16 selboxList.at(i)->setPen (color);
1.17 selboxList.at(i)->setBrush (color);
1.18 + selboxList.at(i)->show();
1.19 }
1.20 + model->getMapEditor()->getScene()->update();
1.21 }
1.22
1.23 void Selection::setColor (QColor col)