aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-07-31 13:23:54 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-07-31 13:23:54 +0300
commita56427605302770b4c0a71a5ff4da439300a2250 (patch)
tree176317dcfc861c4c82777dfdd916a83ae1dfd0f2 /Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs
parentc728eba7cf217972c47e0a65afcb1975f6d6f6f1 (diff)
downloadTango-a56427605302770b4c0a71a5ff4da439300a2250.tar.gz
Tango-a56427605302770b4c0a71a5ff4da439300a2250.zip
Working on External bridge !
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs
index 57c627bfb..f33ca1c42 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs
@@ -37,6 +37,8 @@ namespace Tango.PPC.UI
LogManager.Categories.Clear();
+ CoreSettings.DefaultDataBaseSource = Path.Combine(PathHelper.GetUserTangoFolder(), "DB", "Tango.mdf");
+
var settings = SettingsManager.Default.GetOrCreate<PPCSettings>();
if (settings.LoggingCategories.Count == 0)
@@ -47,6 +49,8 @@ namespace Tango.PPC.UI
settings.LoggingCategories.Add(LogCategory.Warning);
}
+ settings.Save();
+
LogManager.Categories.AddRange(settings.LoggingCategories);
}
}