From 14c742007219d88254c36d77a4b200204a7d4070 Mon Sep 17 00:00:00 2001 From: Ashley Blewer Date: Fri, 13 Apr 2018 22:08:25 -0400 Subject: [PATCH] patches blank output dir on cancel #68 --- audiorecorder2-dev/audiorecorder2/audiorecorder2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiorecorder2-dev/audiorecorder2/audiorecorder2.rb b/audiorecorder2-dev/audiorecorder2/audiorecorder2.rb index 6268f8a..e9883c7 100644 --- a/audiorecorder2-dev/audiorecorder2/audiorecorder2.rb +++ b/audiorecorder2-dev/audiorecorder2/audiorecorder2.rb @@ -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:"