Fixes for Bug #3579467, context menu entries are updated when changing the language / hotkeys.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2200 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-10-25 12:43:44 +00:00
commit 8b331ee3a4
8 changed files with 71 additions and 14 deletions

View file

@ -407,9 +407,6 @@ namespace Greenshot {
coreConfiguration.DWMBackgroundColor = colorButton_window_background.SelectedColor;
coreConfiguration.UpdateCheckInterval = (int)numericUpDown_daysbetweencheck.Value;
// Make sure the current language & settings are reflected in the Main-context menu
MainForm.Instance.UpdateUI();
try {
// Check if the Run for all is set
if(!StartupHelper.checkRunAll()) {
@ -438,6 +435,9 @@ namespace Greenshot {
SaveSettings();
StoreFields();
MainForm.RegisterHotkeys();
// Make sure the current language & settings are reflected in the Main-context menu
MainForm.Instance.UpdateUI();
DialogResult = DialogResult.OK;
} else {
this.tabcontrol.SelectTab(this.tab_output);