mirror of
https://github.com/corpnewt/ProperTree.git
synced 2026-08-12 22:31:30 +04:00
Use the last computed hash after saving to avoid double hashing
This commit is contained in:
@@ -2676,7 +2676,7 @@ class PlistWindow(tk.Toplevel):
|
||||
self.current_plist = path
|
||||
try:
|
||||
self.last_saved = os.path.getmtime(path)
|
||||
self.last_hash = self.get_hash(path)
|
||||
self.last_hash = save_hash
|
||||
except Exception:
|
||||
self.last_saved = self.last_hash = None # Reset them
|
||||
# Set the window title to the path
|
||||
|
||||
Reference in New Issue
Block a user