QTfrontend/pages.cpp
changeset 2733 52a5a160566f
parent 2726 a84fc5113d01
child 2747 7889a3a9724f
--- a/QTfrontend/pages.cpp	Sun Jan 31 19:32:43 2010 +0000
+++ b/QTfrontend/pages.cpp	Sun Jan 31 22:15:53 2010 +0000
@@ -888,7 +888,14 @@
 		roomsList->setItem(r, 3, item);
 
 		if(list[i + 5].compare("+rnd+"))
+		{
 			item = new QTableWidgetItem(list[i + 5]); // selected map
+			
+			// check to see if we've got this map
+			// not perfect but a start
+			if(!mapList->contains(list[i + 5]))
+				item->setForeground(QBrush(QColor(255, 0, 0)));
+		}
 		else
 			item = new QTableWidgetItem(tr("Random Map")); // selected map (is randomized)