summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/dialog.py
diff options
context:
space:
mode:
authorWarry <FunWarry@users.noreply.github.com>2025-12-03 09:25:37 +0100
committerWarry <FunWarry@users.noreply.github.com>2025-12-03 09:25:37 +0100
commit0facd232dc089b164acd7255983f8f078aaaa462 (patch)
treed95854f7c4d49040c935d4dc3d54c5de2d47b6d0 /tidal_dl_ng/dialog.py
parent121dbb788d051c76375261cd18fa8dca0f23b935 (diff)
parent45977986dfa7dde065233099b4c86c74cc9ea163 (diff)
downloadtidal-dl-ng-0facd232dc089b164acd7255983f8f078aaaa462.tar.gz
Merge remote-tracking branch 'warry-github/master' into feature/refactor-settings-ui
Diffstat (limited to 'tidal_dl_ng/dialog.py')
-rw-r--r--tidal_dl_ng/dialog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tidal_dl_ng/dialog.py b/tidal_dl_ng/dialog.py
index 7d6a93f..6a2a8b7 100644
--- a/tidal_dl_ng/dialog.py
+++ b/tidal_dl_ng/dialog.py
@@ -230,7 +230,7 @@ class DialogPreferences(QtWidgets.QDialog):
):
# If a path is set, use it otherwise the users home directory.
path_settings: str = os.path.expanduser(obj_line_edit.text()) if obj_line_edit.text() else ""
- # Check if obj_line_edit is empty but path_default can be usd instead
+ # Check if obj_line_edit is empty but path_default can be used instead
path_settings = (
path_settings if path_settings else os.path.expanduser(path_default) if path_default else path_settings
)
@@ -250,7 +250,7 @@ class DialogPreferences(QtWidgets.QDialog):
dialog.setDirectory(dir_current)
- # Execute dialog and set path is something is choosen.
+ # Execute dialog and set path if something is chosen.
if dialog.exec():
dir_name: str = dialog.selectedFiles()[0]
path: Path = Path(dir_name)