[synchronicity-commits] SF.net SVN: synchronicity:[357] trunk/Create Synchronicity/AboutForm.vb
Easy, fast, and lightweight backup and synchronization app for Windows
Brought to you by:
createsoftware
From: <cre...@us...> - 2010-04-20 12:40:13
|
Revision: 357 http://synchronicity.svn.sourceforge.net/synchronicity/?rev=357&view=rev Author: createsoftware Date: 2010-04-20 12:40:07 +0000 (Tue, 20 Apr 2010) Log Message: ----------- Redo merge. Modified Paths: -------------- trunk/Create Synchronicity/AboutForm.vb Modified: trunk/Create Synchronicity/AboutForm.vb =================================================================== --- trunk/Create Synchronicity/AboutForm.vb 2010-04-20 12:38:35 UTC (rev 356) +++ trunk/Create Synchronicity/AboutForm.vb 2010-04-20 12:40:07 UTC (rev 357) @@ -68,12 +68,14 @@ End Sub Private Sub AboutForm_FormClosed(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles MyBase.FormClosed - If ProgramConfig.GetProgramSetting(ConfigOptions.Language, ConfigOptions.DefaultLanguage) <> About_LanguagesList.SelectedItem.ToString Then - Interaction.ShowMsg(Translation.Translate("\RESTART"), Translation.Translate("\RESTART_NEEDED")) + If About_LanguagesList.SelectedIndex <> -1 Then + If ProgramConfig.GetProgramSetting(ConfigOptions.Language, ConfigOptions.DefaultLanguage) <> About_LanguagesList.SelectedItem.ToString Then + Interaction.ShowMsg(Translation.Translate("\RESTART"), Translation.Translate("\RESTART_NEEDED")) + End If + ProgramConfig.SetProgramSetting(ConfigOptions.Language, About_LanguagesList.SelectedItem) End If ProgramConfig.SetProgramSetting(ConfigOptions.AutoUpdates, About_Updates.Checked) - If About_LanguagesList.SelectedIndex <> -1 Then ProgramConfig.SetProgramSetting(ConfigOptions.Language, About_LanguagesList.SelectedItem) ProgramConfig.SaveProgramSettings() End Sub This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |