Block drag and drop for ROOT items on the widget level, and drop the TRASH item type

This commit is contained in:
Veronica Berglyd Olsen
2022-04-23 16:57:13 +02:00
parent d96c8ddf85
commit bd5a14b18e
7 changed files with 18 additions and 35 deletions
-3
View File
@@ -639,9 +639,6 @@ class GuiIcons:
iconName = "proj_scene"
elif tLayout == nwItemLayout.NOTE:
iconName = "proj_note"
elif tType == nwItemType.TRASH:
iconName = nwLabels.CLASS_ICON[tClass]
if iconName is None:
return QIcon()