vymmodel.cpp
changeset 834 0fad394bc330
parent 832 6a6018ba4cc7
child 835 31841b366d5e
     1.1 --- a/vymmodel.cpp	Tue Mar 09 13:09:05 2010 +0000
     1.2 +++ b/vymmodel.cpp	Wed Mar 10 15:36:19 2010 +0000
     1.3 @@ -1562,6 +1562,7 @@
     1.4  	}
     1.5  	selti->setNote(s);
     1.6  	emitNoteHasChanged(selti);
     1.7 +	emitDataHasChanged(selti);
     1.8  }
     1.9  
    1.10  QString VymModel::getNote()
    1.11 @@ -1660,8 +1661,7 @@
    1.12  		{
    1.13  			i=cur->getNote().indexOf (s,i,cs);
    1.14  			if (i>=0) i++;
    1.15 -			qDebug()<<"i="<<i;
    1.16 -
    1.17 +			//qDebug()<<"i="<<i;
    1.18  		} 
    1.19  		nextBranch(cur,prev);
    1.20  	}
    1.21 @@ -4761,7 +4761,8 @@
    1.22  		ap.setTicks (animationTicks);
    1.23  		ap.setAnimated (true);
    1.24  		bo->setAnimation (ap);
    1.25 -		animObjList.append( bo );
    1.26 +		if (!animObjList.contains(bo))
    1.27 +			animObjList.append( bo );
    1.28  		animationTimer->setSingleShot (true);
    1.29  		animationTimer->start(animationInterval);
    1.30  	}