src/gui.cpp

changeset 393
01fffd08c25a
parent 391
beef61ce962a
child 395
5210bcb1d7e0
--- a/src/gui.cpp	Tue Jul 16 02:47:11 2013 +0300
+++ b/src/gui.cpp	Tue Jul 16 03:12:03 2013 +0300
@@ -841,8 +841,10 @@
 	ui->fileList->clear();
 	
 	for (LDOpenFile* f : g_loadedFiles) {
+		/*
 		if (f->implicit())
 			continue;
+		*/
 		
 		ui->fileList->addItem ("");
 		QListWidgetItem* item = ui->fileList->item (ui->fileList->count() - 1);
@@ -870,6 +872,9 @@
 	if (f == LDOpenFile::current())
 		ui->fileList->setCurrentItem (f->listItem());
 	
+	if (f->implicit())
+		f->listItem()->setForeground (QColor (96, 96, 96));
+	
 	f->listItem()->setText (name);
 	f->listItem()->setIcon (f->hasUnsavedChanges() ? getIcon ("file-save") : QIcon());
 }

mercurial