Remove commented out code
This commit is contained in:
@@ -1739,9 +1739,7 @@ class GuiProjectTree(QTreeWidget):
|
|||||||
newItem.setData(self.C_DATA, self.D_WORDS, 0)
|
newItem.setData(self.C_DATA, self.D_WORDS, 0)
|
||||||
|
|
||||||
if pHandle is None and nwItem.isRootType():
|
if pHandle is None and nwItem.isRootType():
|
||||||
# newItem.setFlags(newItem.flags() ^ Qt.ItemFlag.ItemIsDragEnabled)
|
|
||||||
pItem = self.invisibleRootItem()
|
pItem = self.invisibleRootItem()
|
||||||
# pItem.setFlags(pItem.flags() ^ Qt.ItemFlag.ItemIsDropEnabled)
|
|
||||||
elif pHandle and pHandle in self._treeMap:
|
elif pHandle and pHandle in self._treeMap:
|
||||||
pItem = self._treeMap[pHandle]
|
pItem = self._treeMap[pHandle]
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user