Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ def reset_to_defaults(self):
self.do_key_update(key)

self.save_settings()
if self.notify_callback:
self.notify_callback(self, "", "")

def do_key_update(self, key):
if key in self.bindings:
Expand Down Expand Up @@ -224,6 +226,8 @@ def load_from_file(self, filepath):
else:
print(f"Skipping key {key}: the key does not exist in {filepath} or has no value")
self.save_settings()
if self.notify_callback:
self.notify_callback(self, "", "")

def save_to_file(self, filepath):
if os.path.exists(filepath):
Expand Down
Loading