branchobj.cpp
changeset 742 54d44ecd6097
parent 738 716a777c1c98
child 745 2d4cc445a86a
     1.1 --- a/branchobj.cpp	Fri Mar 06 15:02:58 2009 +0000
     1.2 +++ b/branchobj.cpp	Thu Mar 19 11:45:28 2009 +0000
     1.3 @@ -1537,7 +1537,8 @@
     1.4  
     1.5  void BranchObj::select()	// FIXME try to get rid of this in BO completely
     1.6  {
     1.7 -	// update NoteEditor
     1.8 +	cout << "BO::select()\n";
     1.9 +	// update NoteEditor   FIXME do this via VymView::changeSelection
    1.10  	textEditor->setText(note.getNote() );
    1.11  	QString fnh=note.getFilenameHint();
    1.12  	if (fnh!="")
    1.13 @@ -1550,11 +1551,12 @@
    1.14  	// set selected and visible
    1.15      LinkableMapObj::select();
    1.16  
    1.17 -    //if (po)	po->setLastSelectedBranch(this);
    1.18 +    //if (po)	po->setLastSelectedBranch(this);  FIXME needed?
    1.19  		
    1.20  	// temporary unscroll, if we have scrolled parents somewhere
    1.21  	if (parObj) ((BranchObj*)(parObj))->tmpUnscroll();
    1.22  
    1.23 +	/* FIXME moved to vymmodel or vymview...
    1.24  	// Show URL and link in statusbar
    1.25  	QString status;
    1.26  	if (!url.isEmpty()) status+="URL: "+url+"  ";
    1.27 @@ -1566,6 +1568,7 @@
    1.28  
    1.29  	// Update actions
    1.30  	model->updateActions();
    1.31 +	*/
    1.32  }
    1.33  
    1.34  void BranchObj::unselect()