[PC-BSD Commits] r13947 - pcbsd/current/src-qt4/pc-softwaremanager

svn at pcbsd.org svn at pcbsd.org
Wed Nov 16 08:52:51 PST 2011


Author: kris
Date: 2011-11-16 08:52:51 -0800 (Wed, 16 Nov 2011)
New Revision: 13947

Modified:
   pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp
Log:

Fix a bug displaying the wrong PBI when using multiple repos



Modified: pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp	2011-11-16 16:52:08 UTC (rev 13946)
+++ pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp	2011-11-16 16:52:51 UTC (rev 13947)
@@ -209,7 +209,7 @@
 
 	int pTot = pbiAvail->count();
 	for( int i = 0; i < pTot; i++)
-		if ( pbiAvail->getName(i).toLower() == pbi.toLower() || pbiAvail->getRepo(i) != pRepo) {
+		if ( pbiAvail->getName(i).toLower() == pbi.toLower() && pbiAvail->getRepo(i) == pRepo) {
 			pbiNum = i;
 			break;
 		}



More information about the Commits mailing list