Skip to content

Commit

Permalink
Improved persistent loading of config
Browse files Browse the repository at this point in the history
  • Loading branch information
Brhsoftco committed Jun 6, 2020
1 parent d7a16c5 commit c25e73f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions PlexDL/UI/ServerManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,13 @@ private void ProfileDefinedServer()
//check to see if a loaded profile instated some valid server details
if (CheckProfileDefinedServer())
{
//refresh from app.config file(s)
Properties.Settings.Default.Reload();

//parse the values
var shown = Properties.Settings.Default.PLSShown;
var disable = Properties.Settings.Default.DisablePLSOnShown;

if (!shown || !disable)
{
const string msg =
Expand Down

0 comments on commit c25e73f

Please sign in to comment.