File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,8 +177,6 @@ private void LoadSettings()
177177 if ( _settings . MainWidth > 400 ) this . Width = _settings . MainWidth ;
178178 if ( _settings . MainHeight > 400 ) this . Height = _settings . MainHeight ;
179179
180- om . FilePathIn = _settings . Inputfile ;
181- om . FilePathOut = _settings . OutputFile ;
182180 om . ShowAttemptsCounter = _settings . ShowAttemptsCounter ;
183181 om . ShowHeadline = _settings . ShowHeadline ;
184182 om . ShowSessionProgress = _settings . ShowSessionProgress ;
@@ -190,6 +188,9 @@ private void LoadSettings()
190188 om . StyleFontUrl = _settings . StyleFontUrl ;
191189 om . StyleFontName = _settings . StyleFontName ;
192190 om . StyleDesiredWidth = _settings . StyleDesiredWidth ;
191+
192+ om . FilePathIn = _settings . Inputfile ;
193+ om . FilePathOut = _settings . OutputFile ; // setting output filepath will allow writing output, so keep this line last
193194 om . DataUpdatePending = false ;
194195 }
195196
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ private void Form1_Load(object sender, EventArgs e)
5858 Text = Text + " - v" + Application . ProductVersion + " " + OsLayer . Name ;
5959 LoadSettings ( ) ;
6060 UpdateProgressAndTotals ( ) ;
61+ om . Update ( true ) ; // Write very first output once after application start
6162 }
6263
6364 private void Form1_FormClosing ( object sender , FormClosingEventArgs e )
You can’t perform that action at this time.
0 commit comments