src/model.cpp

changeset 1402
8bbf2af8c3f5
parent 1377
0b9a946002be
child 1425
5354313b9958
--- a/src/model.cpp	Sun Jun 10 23:07:24 2018 +0300
+++ b/src/model.cpp	Sun Jun 10 23:25:08 2018 +0300
@@ -337,7 +337,7 @@
 		}
 
 	case Qt::DecorationRole:
-		return MainWindow::getIcon(object->typeName());
+		return MainWindow::getIcon(object->iconName());
 
 	case Qt::BackgroundColorRole:
 		if (object->type() == LDObjectType::Error)

mercurial