[rkward-cvs] SF.net SVN: rkward:[2432] trunk/rkward/rkward/dataeditor/rkvareditmodel.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Tue Mar 31 16:46:52 UTC 2009
Revision: 2432
http://rkward.svn.sourceforge.net/rkward/?rev=2432&view=rev
Author: tfry
Date: 2009-03-31 16:46:52 +0000 (Tue, 31 Mar 2009)
Log Message:
-----------
Assert should be the other way around
Modified Paths:
--------------
trunk/rkward/rkward/dataeditor/rkvareditmodel.cpp
Modified: trunk/rkward/rkward/dataeditor/rkvareditmodel.cpp
===================================================================
--- trunk/rkward/rkward/dataeditor/rkvareditmodel.cpp 2009-03-31 12:09:03 UTC (rev 2431)
+++ trunk/rkward/rkward/dataeditor/rkvareditmodel.cpp 2009-03-31 16:46:52 UTC (rev 2432)
@@ -151,7 +151,7 @@
}
if (lastrow >= objects[0]->getLength ()) lastrow = objects[0]->getLength () - 1;
RK_ASSERT (row >= 0);
- RK_ASSERT (lastrow <= row);
+ RK_ASSERT (lastrow >= row);
beginRemoveRows (QModelIndex (), row, lastrow);
for (int i=0; i < objects.size (); ++i) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list