Skip to content

Commit

Permalink
patches blank output dir on cancel #68
Browse files Browse the repository at this point in the history
  • Loading branch information
ablwr committed Apr 14, 2018
1 parent 6dc20fe commit 14c7420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audiorecorder2-dev/audiorecorder2/audiorecorder2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def SetUpTrim(input)
stack margin: 10 do
button "Choose Output Directory" do
$outputdir = ask_open_folder
@destination.replace "#{$outputdir}"
@destination.replace "#{$outputdir}" if !outputdir.blank?
end
flow do
destination_prompt = para "File will be saved to:"
Expand Down

0 comments on commit 14c7420

Please sign in to comment.