arcusmaximus / YTSubConverter

A tool for creating styled YouTube subtitles
MIT License
767 stars 55 forks source link

AssStyleOptionsList: Fix build regression by changing access type of … #66

Closed layercak3 closed 2 years ago

layercak3 commented 2 years ago

…GetDefaultFilePath() to public

Prevents error CS0117: 'AssStyleOptionsList' does not contain a definition for 'GetDefaultFilePath' in YTSubConverter.UI.Linux/MainWindow.cs(524,51).

(the regression was introduced by 1ca562e22b8d0bcf717f54d30a2ebaa101974ac8)

I don't have much experience doing actual programming but I thought it would be fun to try and fix this error because it appears to be a simple fix lol, pretty sure I got it right

This PR builds without the above error and the feature in 1ca562e22b8d0bcf717f54d30a2ebaa101974ac8 works properly, thanks!

arcusmaximus commented 2 years ago

Whoops, forgot to commit that part. Thanks for pointing it out!