Skip to content

Commit

Permalink
looks like fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
AzizNadirov committed Jun 17, 2024
1 parent aa8a373 commit f3e96ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,8 @@ def saveSettings(self):
self.accept()

def resetSettings(self):
with self.default_settings_file.open("r") as f:
default_settings_file = Path(__file__).parent / "settings" / "default_settings.json"
with open(default_settings_file.as_posix(), "r") as f:
default_settings_data = f.read()
with settings_file.open("w") as f:
f.write(default_settings_data)
Expand Down

1 comment on commit f3e96ae

@AzizNadirov
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app settings dir set as ~/.ParVu

Please sign in to comment.