Skip to content

Commit

Permalink
Output now defaults to output subdirectory of input.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fincap committed Jun 24, 2021
1 parent dd8a354 commit ede2656
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions png-to-jpeg/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def on_browse_clicked(self):
filepath = QtWidgets.QFileDialog.getExistingDirectory(self, "Open Directory")
if filepath != '':
self.file_list = get_file_list_from_folder(filepath)
self.text_output_location.setText(filepath + os.sep + "output") # Set output folder to same location

# Update list of files loaded
self.list_found_files.clear()
Expand Down

0 comments on commit ede2656

Please sign in to comment.