mirror of
https://github.com/corpnewt/ProperTree.git
synced 2026-08-12 22:31:30 +04:00
Don't remove a recent entry if it doesn't exist
This commit is contained in:
@@ -1022,7 +1022,6 @@ class ProperTree:
|
||||
return
|
||||
path = os.path.normpath(path)
|
||||
if not (os.path.exists(path) and os.path.isfile(path)):
|
||||
self.rem_recent(path)
|
||||
self.tk.bell()
|
||||
mb.showerror("An Error Occurred While Opening {}".format(os.path.basename(path)), "The path '{}' does not exist.".format(path))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user