aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs
index e227c0904..479a657d6 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher.UI/MainWindowVM.cs
@@ -63,7 +63,7 @@ namespace Tango.MachineStudio.Publisher.UI
{
PublishCommand = new RelayCommand(Publish, () => Options.Email != null && Options.Password != null && Options.Comments != null && LocalVersion != null && RemoteVersion != null && IsFree);
- Options = new PublishOptions();
+ Options = SettingsManager.Default.GetOrCreate<PublisherSettings>().Options;
_publisher = new MachineStudioPublisher(Options);
_publisher.PublishProgress += _publisher_PublishProgress;
@@ -93,6 +93,8 @@ namespace Tango.MachineStudio.Publisher.UI
private async void Publish()
{
+ SettingsManager.Default.Save();
+
if (!ShowQuestion("Did you remember to synchronize production database ?"))
{
return;