[rkward-cvs] rkward/rkward/misc multistringselector.cpp,1.2,1.3

Thomas Friedrichsmeier tfry at users.sourceforge.net
Wed Oct 12 10:21:28 UTC 2005


Update of /cvsroot/rkward/rkward/rkward/misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31810

Modified Files:
	multistringselector.cpp 
Log Message:
Make Up button work in MultiStringSelector

Index: multistringselector.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/misc/multistringselector.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** multistringselector.cpp	11 Sep 2005 18:53:04 -0000	1.2
--- multistringselector.cpp	12 Oct 2005 10:21:26 -0000	1.3
***************
*** 125,129 ****
  	RK_ASSERT (sel);
  
! 	sel->moveItem (sel->itemAbove ());
  	emit (listChanged ());
  }
--- 125,132 ----
  	RK_ASSERT (sel);
  
! 	QListViewItem *above = sel->itemAbove ();
! 	if (above) {
! 		above->moveItem (sel);
! 	}
  	emit (listChanged ());
  }





More information about the rkward-tracker mailing list