Bug fixes
This commit is contained in:
parent
f77becc21c
commit
eafc8613e6
|
@ -89,7 +89,7 @@ class KeyboardSignalsMixin:
|
||||||
if self.ctrlDown and keyname == "h":
|
if self.ctrlDown and keyname == "h":
|
||||||
self.show_hide_hidden_files()
|
self.show_hide_hidden_files()
|
||||||
if (self.ctrlDown and keyname == "e"):
|
if (self.ctrlDown and keyname == "e"):
|
||||||
self.edit_files()
|
self.rename_files()
|
||||||
if self.ctrlDown and keyname == "c":
|
if self.ctrlDown and keyname == "c":
|
||||||
self.to_cut_files.clear()
|
self.to_cut_files.clear()
|
||||||
self.copy_files()
|
self.copy_files()
|
||||||
|
|
|
@ -21,7 +21,7 @@ class Trash(object):
|
||||||
if os.path.isfile(item):
|
if os.path.isfile(item):
|
||||||
size = size + os.path.getsize(item)
|
size = size + os.path.getsize(item)
|
||||||
elif os.path.isdir(item):
|
elif os.path.isdir(item):
|
||||||
size = size + size_dir(item)
|
size = size + self.size_dir(item)
|
||||||
|
|
||||||
return size
|
return size
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue