Skip to content

Commit

Permalink
Merge pull request metabrainz#661 from Sophist-UK/PICARD-1023_enhance…
Browse files Browse the repository at this point in the history
…-add-directory-path-persistance

PICARD-1023: Tweak Add Directory path persistance
  • Loading branch information
zas authored Mar 22, 2017
2 parents 0a276b0 + 7b28952 commit a7e0d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picard/ui/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ def add_directory(self):

dir_count = len(dir_list)
if dir_count:
parent = os.path.dirname(dir_list[0])
parent = os.path.dirname(dir_list[0]) if dir_count > 1 else dir_list[0]
config.persist["current_directory"] = parent
if dir_count > 1:
self.set_statusbar_message(
Expand Down

0 comments on commit a7e0d71

Please sign in to comment.