Fixed menu entries and drop options for trash and archive folders

This commit is contained in:
Veronica K. B. Olsen
2020-08-16 17:25:11 +02:00
parent 65131e87c7
commit 68a7dd4390
3 changed files with 28 additions and 7 deletions
+2 -4
View File
@@ -245,12 +245,10 @@ class NWTree():
if tItem is not None:
for i in range(200):
if tItem.parHandle is None:
return tHandle
return tItem
else:
tHandle = tItem.parHandle
tItem = self.__getitem__(tHandle)
if tItem is None:
return tHandle
tItem = self.__getitem__(tHandle)
return None
def getItemPath(self, tHandle):